/* Compact world feature shared by Home and Lexi's Games. */
.home-world { min-width: 0; }
.world-feature-heading, .world-feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lexi-backdrop .world-feature-heading h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.world-feature-heading { padding: 0 2px 9px; }
.world-preview-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid #a8a2c566;
  border-radius: 999px;
  color: #62577d;
  background: #ffffffc9;
  font-size: .65rem;
  font-weight: 700;
  white-space: nowrap;
}
.world-preview {
  position: relative;
  height: clamp(164px, 16vw, 208px);
  overflow: hidden;
  border: 1px solid #737e64;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 35%, #67775222, #152b2388),
    repeating-linear-gradient(0deg, transparent 0 23px, #152a222b 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, #152a222b 23px 24px), #46593f;
  color: #ecf1df;
}
.world-preview canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.world-preview-start {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  border: 0;
  background: #18271b33;
  color: #f1f5df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-bottom: 24px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  text-shadow: 0 1px 4px #102014;
}
.world-preview-start:hover { background: #18271b55; }
.world-preview-start:focus-visible { outline: 3px solid #f5e7b5; outline-offset: -5px; }
.world-preview [hidden] { display: none !important; }
.world-play-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding-left: 3px;
  border: 1px solid #dbe7bc88;
  border-radius: 50%;
  background: #e4ebd51c;
}
.world-preview-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  min-height: 32px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #e5edd7;
  background: #15241bea;
  font-size: .68rem;
}
.world-preview-bar button {
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid #d6dfc16b;
  border-radius: 6px;
  background: #e4ebd511;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.world-preview-bar button:focus-visible { outline: 2px solid #f5e7b5; }
.world-feature-footer { padding: 9px 1px 0; }
.lexi-backdrop .world-feature-footer p {
  margin: 0;
  color: var(--lx-v3-body, #625b77);
  font-size: .79rem;
  line-height: 1.35;
}
.world-feature-footer .button { flex-shrink: 0; white-space: nowrap; }
.world-promo {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 16px 20px;
  border: 1px solid var(--lx-v3-line-soft, #b7b0d7);
  border-radius: 20px;
  background: linear-gradient(115deg, #fffefdec, #e2eee5e0);
}
.lexi-backdrop .world-promo h2 { font-size: 1.3rem; margin: 6px 0; }
.lexi-backdrop .world-promo p { font-size: .88rem; margin: 0; line-height: 1.4; }
.world-promo .button { flex-shrink: 0; }
@media (max-width: 520px) {
  .world-promo { align-items: start; flex-direction: column; padding: 14px; gap: 12px; }
}
