<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">.mansion {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2em 2em; /* ç¸¦1emã€æ¨ª0.7em */
  justify-content: center;
}

.mansion &gt; .window:nth-child(n+9) {
  grid-column: span 1;
}

.window {
  position: relative;
  width: 150px;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

.window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: 0.2s;
}

.window .open {
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.window:hover .open {
  opacity: 1;
}

.window:hover .closed {
  opacity: 0;
}

@media (max-width: 768px) {
  .mansion {
    grid-template-columns: repeat(3, 1fr);
  }
  .window {
    width: 150px;
  }
  .profile-card{
    max-width: 95%;
    max-height: 95%;
  }
  .profile-card img{ 
    width: 800px;
    max-width: 98vw;
  }
}

.hover-text {
  position: absolute;
  bottom: -1.8em;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0.2em 0.6em;
  font-size: 1rem;
  border-radius: 1em;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s;
}
.window:hover .hover-text {
  opacity: 1;
}


.profile-card {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  margin: 0;
  padding: 0;
  max-width: 90%;
  max-height: 90%;
}

.profile-card img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.close-btn {
  position: absolute;
  top: 0.5em;
  right: 0.7em;
  font-size: 1.5em;
  cursor: pointer;
  font-weight: bold;
}
</pre></body></html>