/* 梦境群岛 · 可点海岛图（板块，不是首屏） */

.arch.arch--island {
  background:
    radial-gradient(120% 80% at 50% 8%, #eef7ff 0%, #b9def6 46%, #8ec4ea 100%);
  border-color: rgba(120, 168, 210, 0.35);
  color: #152033;
  padding: 1.2rem 1rem 1.25rem;
}

html[data-theme="dark"] .arch.arch--island {
  background:
    radial-gradient(120% 80% at 50% 8%, #2a3c52 0%, #182433 50%, #0c1218 100%);
  border-color: rgba(201, 169, 98, 0.18);
  color: #f0e0bc;
}

.arch--island .arch__glint { display: none; }

.arch--island .arch__kicker { color: rgba(21, 32, 51, 0.48); }
.arch--island .arch__title { color: #102038; }
.arch--island .arch__lead { color: rgba(16, 32, 56, 0.62); }

html[data-theme="dark"] .arch--island .arch__kicker { color: rgba(232, 212, 168, 0.45); }
html[data-theme="dark"] .arch--island .arch__title { color: #f0e0bc; }
html[data-theme="dark"] .arch--island .arch__lead { color: rgba(232, 212, 168, 0.58); }

.mj-doors {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0.95rem 0 1rem;
}

.mj-door {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 1.05rem;
  box-shadow: 0 10px 28px rgba(24, 48, 80, 0.08);
  color: #122033;
  display: flex;
  flex-direction: column;
  min-height: 7.4rem;
  padding: 0.85rem 0.9rem 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mj-door:hover,
.mj-door.is-on,
.mj-door:focus-visible {
  background: #111;
  border-color: #111;
  box-shadow: 0 14px 32px rgba(12, 20, 32, 0.22);
  color: #fafaf8;
  outline: none;
  transform: translateY(-2px);
}

.mj-door__no {
  color: rgba(18, 32, 51, 0.38);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mj-door:hover .mj-door__no,
.mj-door.is-on .mj-door__no,
.mj-door:focus-visible .mj-door__no {
  color: rgba(250, 250, 248, 0.45);
}

.mj-door strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 0.42rem;
}

.mj-door em {
  color: rgba(18, 32, 51, 0.52);
  display: block;
  font-size: 0.72rem;
  font-style: normal;
  margin-top: 0.22rem;
}

.mj-door:hover em,
.mj-door.is-on em,
.mj-door:focus-visible em {
  color: rgba(250, 250, 248, 0.62);
}

.mj-door__go {
  color: #8a6a22;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 0.7rem;
}

.mj-door:hover .mj-door__go,
.mj-door.is-on .mj-door__go,
.mj-door:focus-visible .mj-door__go {
  color: #e8d4a8;
}

html[data-theme="dark"] .mj-door {
  background: rgba(8, 10, 14, 0.62);
  border-color: rgba(232, 212, 168, 0.16);
  color: #f0e0bc;
}

html[data-theme="dark"] .mj-door__no { color: rgba(232, 212, 168, 0.38); }
html[data-theme="dark"] .mj-door em { color: rgba(232, 212, 168, 0.52); }

html[data-theme="dark"] .mj-door:hover,
html[data-theme="dark"] .mj-door.is-on,
html[data-theme="dark"] .mj-door:focus-visible {
  background: #f0e0bc;
  border-color: #f0e0bc;
  color: #141414;
}

html[data-theme="dark"] .mj-door:hover .mj-door__no,
html[data-theme="dark"] .mj-door.is-on .mj-door__no,
html[data-theme="dark"] .mj-door:focus-visible .mj-door__no,
html[data-theme="dark"] .mj-door:hover em,
html[data-theme="dark"] .mj-door.is-on em,
html[data-theme="dark"] .mj-door:focus-visible em {
  color: rgba(20, 20, 20, 0.5);
}

html[data-theme="dark"] .mj-door:hover .mj-door__go,
html[data-theme="dark"] .mj-door.is-on .mj-door__go,
html[data-theme="dark"] .mj-door:focus-visible .mj-door__go {
  color: #6b5218;
}

.mj-world {
  margin: 0 auto;
  max-width: 36rem;
  position: relative;
  width: 100%;
}

.mj-world__stage {
  display: block;
  position: relative;
  width: 100%;
}

.mj-world__art,
.mj-world picture,
.mj-world picture img {
  display: block;
  height: auto;
  max-width: 100%;
  pointer-events: none;
  user-select: none;
  width: 100%;
}

html[data-theme="dark"] .mj-world picture img,
html[data-theme="dark"] .mj-world__art {
  filter: brightness(0.82) saturate(0.94) contrast(1.04);
}

.mj-world__hits {
  inset: 0;
  position: absolute;
}

.mj-hit {
  background: transparent;
  border: 0;
  border-radius: 1.15rem;
  cursor: pointer;
  display: block;
  height: var(--h);
  left: var(--x);
  position: absolute;
  text-decoration: none;
  top: var(--y);
  width: var(--w);
  z-index: 2;
}

.mj-hit--ads { border-radius: 46% 46% 38% 38%; }
.mj-hit--seo { border-radius: 1.6rem 1.6rem 1.1rem 1.1rem; }

.mj-hit::before {
  background: rgba(255, 252, 245, 0.08);
  border: 1.5px solid rgba(255, 248, 230, 0.72);
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(232, 196, 112, 0.22), 0 8px 22px rgba(20, 40, 70, 0.12);
  content: "";
  inset: 0;
  opacity: 0.88;
  position: absolute;
  transition: opacity 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.mj-hit.is-on::before,
.mj-hit:hover::before,
.mj-hit:focus-visible::before {
  background: rgba(255, 252, 245, 0.22);
  box-shadow:
    0 0 0 2px rgba(232, 196, 112, 0.7),
    0 14px 32px rgba(20, 40, 70, 0.2),
    inset 0 0 28px rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.mj-hit:focus-visible { outline: none; }

.mj-hit__pulse {
  animation: mj-pulse 2.8s ease-in-out infinite;
  background: #fff8e6;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 248, 230, 0.55);
  height: 0.52rem;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 28%;
  transform: translate(-50%, -50%);
  width: 0.52rem;
  z-index: 1;
}

.mj-hit__tag {
  background: rgba(17, 17, 17, 0.86);
  border-radius: 99rem;
  bottom: 0.35rem;
  color: #fafaf8;
  font-size: 0.68rem;
  font-weight: 800;
  left: 50%;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.38rem 0.62rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
}

.mj-hit.is-on .mj-hit__tag,
.mj-hit:hover .mj-hit__tag,
.mj-hit:focus-visible .mj-hit__tag {
  background: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

@keyframes mj-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 248, 230, 0.55); opacity: 0.95; }
  70% { box-shadow: 0 0 0 0.7rem rgba(255, 248, 230, 0); opacity: 0.7; }
}

@media (max-width: 56rem) {
  .mj-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .mj-world { max-width: none; }
  .mj-door { min-height: 6.6rem; padding: 0.75rem 0.8rem 0.8rem; }
  .mj-door strong { font-size: 0.95rem; }
  .mj-hit__tag { font-size: 0.62rem; padding: 0.32rem 0.5rem; }
  .mj-hit__pulse { height: 0.44rem; width: 0.44rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mj-hit__pulse { animation: none; }
  .mj-door { transition: none; }
}
