/* Private island-entry extension. Existing artwork and sign CSS remain the source of truth. */
.island-map { aspect-ratio: 1.44 / 1; }
.ihin-base-layer {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 28%;
  width: 100%;
  height: 72%;
  isolation: isolate;
}
.ihin-base-layer > picture { display: contents; }

/* Blend only the outermost top sea margins into the approved map water color.
   The center canopy and all existing scene pixels remain untouched. */
.ihin-base-layer::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 8%;
  pointer-events: none;
  background: linear-gradient(to bottom, #cce7df 0%, rgb(204 231 223 / 72%) 42%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0 2%, transparent 5% 95%, #000 98% 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0 2%, transparent 5% 95%, #000 98% 100%);
}
.ihin-base-layer .island-art { position: relative; z-index: 0; }
.ihin-extension {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: 36.5%;
  aspect-ratio: 4 / 3;
  transform: translateX(-50%);
  pointer-events: none;
}
.ihin-extension img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ihin-estate-sign {
  position: absolute;
  z-index: 4;
  left: 59.49%;
  top: 28.3824%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
  padding: 0 13px;
  font-size: 17px;
  line-height: 1.3;
}
.ihin-estate-sign .island-name { font-size: 17px; }
.ihin-estate-sign::after { display: none; }

/* Reserve sea below the last desktop sign so its full44px hit area is not clipped. */
@media (min-width: 1000px) { .journey-home .island { padding-bottom: 8px; } }

@media (max-width: 999px) {
  .island-map { aspect-ratio: 1 / 1.14; }
  .ihin-base-layer { top: 12.2807017544%; height: 87.7192982456%; }
  .ihin-extension {
    width: 36%;
    clip-path: polygon(0 0, 100% 0, 100% 52%, 70% 65%, 62% 75%, 60% 100%, 40% 100%, 38% 75%, 30% 65%, 0 52%);
  }
  .ihin-estate-sign {
    left: 20%;
    top: 6.1403508772%;
    padding-inline: 5px;
    font-size: 14px;
  }
  .ihin-estate-sign .island-name { font-size: 14px; }
}

@media (min-width: 481px) and (max-width: 999px) {
  .ihin-estate-sign,
  .ihin-estate-sign .island-name { font-size: 16px; }
}
