.meta-world-chat {
  position: absolute;
  right: 14px;
  bottom: 170px;
  left: 14px;
  z-index: 6;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(28, 20, 44, .86);
  box-shadow: 0 18px 45px rgba(8, 4, 18, .35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.meta-world-hunyuan {
  position: absolute;
  top: 50px;
  left: 14px;
  z-index: 5;
  min-height: 29px;
  padding: 0 11px;
  color: #fff;
  border: 1px solid rgba(255, 224, 171, .35);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(157, 111, 205, .82), rgba(92, 59, 142, .84));
  box-shadow: 0 8px 20px rgba(9, 5, 20, .22);
  font-size: 9px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.meta-world-hunyuan:disabled {
  opacity: .78;
}

.meta-world-pano {
  position: absolute;
  top: 88px;
  right: 14px;
  z-index: 5;
  min-height: 29px;
  padding: 0 11px;
  color: #fff;
  border: 1px solid rgba(139, 231, 220, .32);
  border-radius: 999px;
  background: rgba(35, 57, 69, .68);
  box-shadow: 0 8px 20px rgba(9, 5, 20, .2);
  font-size: 9px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.estate-tabs button.locked {
  color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .025);
}

.meta-world-pano.active {
  color: #2b1d37;
  border-color: rgba(255, 235, 189, .65);
  background: linear-gradient(100deg, #b7f1e6, #f7dcae);
}

.meta-world-chat header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #fff;
  font-size: 12px;
}

.meta-world-chat header button {
  width: 26px;
  height: 26px;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-size: 17px;
}

.meta-world-chat-messages {
  display: flex;
  min-height: 80px;
  max-height: 140px;
  padding: 4px 1px;
  overflow-y: auto;
  flex-direction: column;
  gap: 7px;
}

.meta-world-chat-message {
  align-self: flex-start;
  max-width: 84%;
  padding: 8px 10px;
  color: #eee6f8;
  border-radius: 11px 11px 11px 3px;
  background: rgba(255, 255, 255, .1);
  font-size: 10.5px;
  line-height: 1.45;
}

.meta-world-chat-message.self {
  align-self: flex-end;
  color: #fff;
  border-radius: 11px 11px 3px;
  background: linear-gradient(120deg, #8b61bc, #68459f);
}

.meta-world-chat form {
  display: flex;
  height: 38px;
  margin-top: 8px;
  gap: 7px;
}

.meta-world-chat input {
  min-width: 0;
  flex: 1;
  padding: 0 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  outline: 0;
  background: rgba(255, 255, 255, .08);
  font-size: 11px;
}

.meta-world-chat input::placeholder {
  color: rgba(255, 255, 255, .42);
}

.meta-world-chat form button {
  flex: 0 0 50px;
  color: #fff;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(120deg, #a578cc, #6d49ad);
  font-size: 11px;
}

.meta-world-ai-tools {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.meta-world-ai-tools > small {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: 8px;
  line-height: 1.45;
}

.meta-world-ai-tools > div {
  display: flex;
  margin-top: 6px;
  padding-bottom: 1px;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.meta-world-ai-tools > div::-webkit-scrollbar {
  display: none;
}

.meta-world-ai-tools button {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 9px;
  color: #eadfff;
  border: 1px solid rgba(207, 178, 244, .22);
  border-radius: 999px;
  background: rgba(133, 94, 178, .22);
  font-size: 8.5px;
}

.estate-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 50px;
  left: 0;
  z-index: 42;
  display: flex;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 60% 20%, rgba(157, 117, 216, .2), transparent 24%),
    linear-gradient(160deg, #151025, #201633 54%, #171222);
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.estate-head {
  display: flex;
  flex: 0 0 72px;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(18, 12, 31, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.estate-head > button {
  width: 36px;
  height: 36px;
  padding: 0 0 2px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 28px;
  font-weight: 300;
}

.estate-head > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.estate-head small {
  display: block;
  margin-bottom: 3px;
  color: rgba(220, 202, 250, .56);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .14em;
}

.estate-head h2 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-wallet {
  flex: 0 0 auto;
  cursor: pointer;
  padding: 8px 10px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  font: inherit;
  text-align: right;
}

.estate-wallet:active {
  background: rgba(255, 228, 174, .16);
}

.estate-wallet small,
.estate-wallet strong {
  display: block;
}

.estate-wallet small {
  margin: 0 0 2px;
  font-size: 7px;
}

.estate-wallet strong {
  color: #ffe4ae;
  font-size: 11px;
}

.estate-tabs {
  display: flex;
  flex: 0 0 70px;
  padding: 8px 10px;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(26, 18, 43, .66);
  scrollbar-width: none;
}

.estate-tabs::-webkit-scrollbar,
.estate-list::-webkit-scrollbar,
.estate-panel::-webkit-scrollbar {
  display: none;
}

.estate-tabs button {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  padding: 5px 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: rgba(255, 255, 255, .58);
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-size: 9.5px;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.estate-tabs button i {
  color: #c4a1ee;
  font-size: 12.5px;
  font-style: normal;
  line-height: 1;
}

.estate-tabs button.active {
  color: #fff;
  border-color: rgba(224, 196, 255, .24);
  background: linear-gradient(145deg, rgba(154, 111, 202, .54), rgba(100, 67, 150, .5));
}

.estate-tabs button.active i {
  color: #ffe0a7;
}

.estate-main {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.estate-panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.estate-planet-panel {
  overflow: hidden;
}

.estate-planet-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.estate-planet-canvas-host,
.estate-planet-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.estate-planet-top {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .56);
  font-size: 9px;
  pointer-events: none;
}

.estate-planet-top span {
  padding: 5px 9px;
  color: #efe2ff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(19, 13, 34, .45);
}

.estate-planet-search {
  position: absolute;
  top: 43px;
  right: 55px;
  left: 13px;
  z-index: 5;
  display: flex;
  height: 34px;
  padding: 3px;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(147, 207, 232, .22);
  border-radius: 11px;
  background: rgba(8, 19, 36, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.estate-planet-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0 8px;
  color: #eafcff;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 8px;
}

.estate-planet-search input::placeholder {
  color: rgba(220, 242, 255, .42);
}

.estate-planet-search button {
  flex: 0 0 46px;
  height: 27px;
  color: #102430;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(105deg, #91e2d3, #cabce8);
  font-size: 8.5px;
  font-weight: 700;
}

.estate-planet-zoom {
  position: absolute;
  top: 87px;
  right: 12px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(24, 17, 40, .64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.estate-planet-zoom button {
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  font-size: 16px;
}

.estate-planet-zoom button:last-child {
  border-bottom: 0;
}

.estate-planet-card {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  min-height: 96px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 17px;
  background: rgba(24, 17, 40, .8);
  box-shadow: 0 14px 34px rgba(8, 4, 19, .3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.estate-planet-card:has(.estate-planet-card-cover) {
  display: flex;
  align-items: center;
  gap: 11px;
}

.estate-planet-card-cover {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 65% 28%, var(--cover-c), transparent 22%),
    linear-gradient(150deg, var(--cover-a), var(--cover-b) 55%, var(--cover-floor));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.estate-planet-spotlight {
  position: absolute;
  top: 92px;
  left: 13px;
  z-index: 5;
  display: flex;
  width: min(235px, calc(100% - 70px));
  padding: 7px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(191, 229, 255, .28);
  border-radius: 15px;
  background: rgba(10, 24, 43, .82);
  box-shadow: 0 14px 34px rgba(2, 8, 22, .36);
  opacity: 0;
  text-align: left;
  transform: translateY(8px) scale(.97);
  transition: opacity .24s ease, transform .24s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.estate-planet-spotlight.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.estate-planet-spotlight-image {
  flex: 0 0 64px;
  width: 64px;
  height: 56px;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.estate-planet-spotlight > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.estate-planet-spotlight small,
.estate-planet-spotlight strong,
.estate-planet-spotlight em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-planet-spotlight small {
  color: #8adfd6;
  font-size: 7.5px;
}

.estate-planet-spotlight strong {
  margin: 2px 0;
  font-size: 10.5px;
}

.estate-planet-spotlight em {
  color: rgba(255, 255, 255, .5);
  font-size: 8px;
  font-style: normal;
}

.estate-planet-area {
  position: absolute;
  top: 92px;
  right: 55px;
  left: 13px;
  z-index: 6;
  display: flex;
  max-height: 46%;
  padding: 10px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(146, 205, 235, .25);
  border-radius: 16px;
  background: rgba(8, 20, 38, .88);
  box-shadow: 0 16px 36px rgba(2, 8, 22, .38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.estate-planet-area::-webkit-scrollbar {
  display: none;
}

.estate-planet-area header {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 2px;
  background: rgba(8, 20, 38, .98);
}

.estate-planet-area header > span {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
}

.estate-planet-area header strong {
  font-size: 11px;
}

.estate-planet-area header small {
  color: rgba(255, 255, 255, .42);
  font-size: 7.5px;
}

.estate-planet-area header > button {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  font-size: 16px;
  line-height: 1;
}

.estate-planet-area > div {
  display: grid;
  min-height: 0;
  overflow-y: auto;
  gap: 5px;
  scrollbar-width: none;
}

.estate-planet-area > div::-webkit-scrollbar {
  display: none;
}

.estate-planet-area > div > button {
  display: grid;
  padding: 5px;
  align-items: center;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  gap: 7px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  text-align: left;
}

.estate-planet-area > div > button > span {
  width: 43px;
  height: 38px;
  border-radius: 7px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.estate-planet-area > div > button strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-planet-area > div > button small {
  color: #88dfd4;
  font-size: 7.5px;
}

.estate-planet-area p {
  margin: 8px;
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  text-align: center;
}

.estate-planet-card > div:last-child {
  min-width: 0;
  flex: 1;
}

.estate-planet-card small {
  color: #cbb7e6;
  font-size: 8px;
}

.estate-planet-card .estate-planet-coordinate {
  display: block;
  overflow: hidden;
  margin: 0 0 6px;
  color: #89d9d1;
  font-family: "SFMono-Regular", Menlo, monospace;
  font-size: 7px;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-planet-card h3 {
  margin: 3px 0 5px;
  font-size: 13px;
}

.estate-planet-card p {
  overflow: hidden;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, .57);
  font-size: 9.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-planet-card > div > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.estate-planet-card strong {
  color: #ffe0a7;
  font-size: 11px;
}

.estate-planet-card button,
.estate-create-mini {
  height: 29px;
  padding: 0 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: linear-gradient(110deg, #966bc5, #68449e);
  font-size: 9.5px;
}

.estate-planet-empty {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .52);
  font-size: 10px;
}

.estate-list-panel {
  padding: 10px 11px 20px;
}

.estate-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.estate-assets-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1px 0 10px;
  padding: 0 2px;
}

.estate-assets-summary strong {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .2px;
}

.estate-assets-summary span {
  color: rgba(255, 255, 255, .48);
  font-size: 9px;
}

.estate-query-progress {
  margin: 0 2px 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .045);
}

.estate-query-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.estate-query-progress small {
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
}

.estate-query-progress b {
  color: #ffe1a7;
  font-size: 10px;
}

.estate-query-progress > span {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.estate-query-progress > span i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ac7bd4, #ffd392);
  transition: width .18s ease;
}

.estate-query-progress > span i.is-indeterminate {
  animation: estate-query-progress-slide 1.1s ease-in-out infinite alternate;
}

.estate-query-progress p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: 8.5px;
}

@keyframes estate-query-progress-slide {
  from { transform: translateX(-70%); }
  to { transform: translateX(215%); }
}

.estate-filter {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.estate-filter button {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  color: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: 9.5px;
}

.estate-filter button.active {
  color: #fff;
  border-color: rgba(255, 222, 164, .35);
  background: rgba(138, 94, 188, .5);
}

.estate-list {
  display: grid;
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.estate-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
}

.estate-asset-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
}

.estate-asset-cover {
  position: relative;
  height: 112px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 222, 166, .36), transparent 27%),
    linear-gradient(145deg, #554064, #9472b3);
  background-position: center;
  background-size: cover;
}

.estate-asset-cover.is-avatar {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 231, 187, .8), transparent 11%),
    radial-gradient(circle at 50% 50%, rgba(190, 146, 225, .4), transparent 34%),
    linear-gradient(155deg, #24182e, #76549d);
}

.estate-asset-cover > span {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 7px;
  color: #fff2d8;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(15, 10, 22, .62);
  font-size: 7px;
  font-weight: 700;
}

.estate-asset-copy {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.estate-asset-copy small {
  color: rgba(223, 200, 242, .58);
  font-size: 7.5px;
}

.estate-asset-copy h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-asset-copy p {
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, .48);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-asset-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.estate-asset-copy strong {
  color: #ffe0a7;
  font-size: 10px;
}

.estate-asset-copy strong i {
  font-style: normal;
  font-size: 7px;
}

.estate-asset-copy button {
  height: 28px;
  padding: 0 9px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(105deg, #a97747, #76529f);
  font-size: 8.5px;
}

.estate-asset-copy button:disabled {
  opacity: .55;
}

.estate-asset-dialog-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 8px;
  place-items: center;
  color: #fff0d5;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: linear-gradient(145deg, #9b7451, #704e96);
  font-size: 15px;
  font-weight: 800;
}

.estate-cover {
  position: relative;
  height: 112px;
  overflow: hidden;
  background: #2b2440;
}

.estate-cover::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(12, 10, 22, .4));
  pointer-events: none;
}

.estate-cover-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}

.estate-thumbnail-missing {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  color: #fff;
  text-align: center;
  background: rgba(19, 14, 29, .82);
}

.estate-thumbnail-missing strong {
  font-size: 10px;
}

.estate-thumbnail-missing small {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, .62);
  font-size: 8px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-house {
  position: absolute;
  top: 35px;
  left: 50%;
  width: 57px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 8px 24px rgba(28, 15, 45, .28);
  transform: translateX(-50%);
}

.estate-house::before {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, .48);
  background: var(--cover-b);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.estate-house i,
.estate-house b,
.estate-house em {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 2px;
  background: rgba(50, 36, 68, .5);
}

.estate-house i { width: 12px; height: 22px; bottom: 0; left: 9px; }
.estate-house b { width: 13px; height: 13px; top: 9px; right: 9px; }
.estate-house em { width: 32px; height: 3px; top: 29px; left: 9px; opacity: .5; }

.estate-status {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 7px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(25, 16, 42, .46);
  font-size: 7.5px;
}

.estate-favorite {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(25, 16, 42, .42);
  font-size: 14px;
}

.estate-favorite.active {
  color: #ffe09c;
}

.estate-card-copy {
  padding: 9px;
}

.estate-generating-card {
  border-color: rgba(188, 145, 241, .42);
}

.estate-generating-cover {
  position: relative;
  display: grid;
  min-height: 128px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(205, 164, 255, .34), transparent 34%),
    linear-gradient(145deg, rgba(74, 46, 110, .82), rgba(31, 25, 56, .96));
}

.estate-generating-cover i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(236, 214, 255, .72);
  border-radius: 16px;
  background: rgba(145, 97, 207, .52);
  box-shadow: 0 0 28px rgba(185, 130, 247, .35);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.estate-generating-cover b {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.estate-generating-orbit {
  position: absolute;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(230, 208, 255, .35);
  border-radius: 50%;
  animation: estate-generating-spin 1.8s linear infinite;
}

.estate-generating-orbit::after {
  position: absolute;
  top: -3px;
  left: 43px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ead7ff;
  box-shadow: 0 0 10px #c995ff;
  content: "";
}

.estate-generating-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
}

.estate-generating-progress > span {
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.estate-generating-progress > span i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #be93e8, #ffe1b4);
  transition: width .35s ease;
}

.estate-generating-progress b {
  min-width: 30px;
  color: #ead7ff;
  font-size: 9px;
  text-align: right;
}

@keyframes estate-generating-spin {
  to { transform: rotate(360deg); }
}

.estate-card-copy > small {
  color: #baa4d5;
  font-size: 7.5px;
}

.estate-card-copy h3 {
  overflow: hidden;
  margin: 3px 0 4px;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.estate-card-copy > p {
  display: -webkit-box;
  height: 29px;
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, .46);
  font-size: 8px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.estate-card-bottom {
  display: flex;
  margin-top: 8px;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.estate-card-bottom strong {
  color: #ffe1a7;
  font-size: 10px;
}

.estate-card-bottom strong i {
  font-size: 6.5px;
  font-style: normal;
}

.estate-card-bottom span button {
  height: 25px;
  padding: 0 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: #7651aa;
  font-size: 8px;
}

.estate-card-tools {
  display: flex;
  margin-top: 7px;
  gap: 5px;
}

.estate-card-tools button {
  flex: 1;
  height: 24px;
  padding: 0;
  color: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  font-size: 8px;
}

.estate-market-summary {
  display: flex;
  min-height: 51px;
  padding: 7px 9px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 215, 146, .18), transparent 24%),
    rgba(255, 255, 255, .045);
}

.estate-market-summary small,
.estate-market-summary strong {
  display: block;
}

.estate-market-summary small {
  color: #b79ed5;
  font-size: 7px;
  letter-spacing: .12em;
}

.estate-market-summary strong {
  margin-top: 3px;
  font-size: 11.5px;
}

.estate-market-summary > span {
  color: #ffe1aa;
  font-size: 9px;
}

.estate-market-filter {
  margin-top: 9px;
}

.estate-empty {
  display: flex;
  min-height: 230px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
  text-align: center;
}

.estate-empty > span {
  margin-bottom: 10px;
  color: #bf9cea;
  font-size: 37px;
}

.estate-empty strong {
  font-size: 13px;
}

.estate-empty p {
  margin: 7px 25px 12px;
  color: rgba(255, 255, 255, .48);
  font-size: 9.5px;
  line-height: 1.5;
}

.estate-empty button {
  height: 33px;
  padding: 0 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: linear-gradient(110deg, #a274cf, #6b469f);
  font-size: 10px;
}

.estate-avatar-panel {
  position: absolute;
  inset: 0;
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}

.estate-avatar-vault-button {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 6;
  display: grid;
  width: 62px;
  height: 62px;
  padding: 0;
  place-items: center;
  color: #fff6e6;
  border: 1px solid rgba(255, 220, 159, .58);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, .28), transparent 36%),
    linear-gradient(145deg, rgba(164, 117, 72, .92), rgba(104, 68, 150, .94));
  box-shadow: 0 8px 24px rgba(44, 24, 63, .35);
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
  transform: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.estate-avatar-vault-button:active {
  transform: scale(.96);
}

.estate-avatar-panel::-webkit-scrollbar {
  display: none;
}

.estate-avatar-preview-note {
  position: absolute;
  top: calc(clamp(205px, 24vh, 240px) - 66px);
  right: 14px;
  left: 14px;
  z-index: 4;
  margin: 0;
  padding: 8px 11px;
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(196, 222, 255, .16);
  border-radius: 11px;
  background: rgba(7, 16, 32, .42);
  font-size: 8.5px;
  line-height: 1.55;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.estate-avatar-stage {
  position: relative;
  flex: 0 0 clamp(205px, 24vh, 240px);
  min-height: 205px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(173, 125, 229, .22), transparent 28%),
    linear-gradient(160deg, #171126, #211735);
}

.estate-avatar-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  padding: 18px 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 50% 36%, rgba(177, 131, 232, .28), transparent 32%),
    linear-gradient(160deg, rgba(20, 14, 34, .96), rgba(34, 24, 53, .98));
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.estate-avatar-loading[hidden] {
  display: none;
}

.estate-avatar-load-orbit {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border: 1px solid rgba(224, 203, 255, .25);
  border-radius: 50%;
  background: radial-gradient(circle, #d9b9ff 0 18%, #7e56b10b 20% 100%);
  box-shadow: inset 0 0 18px rgba(211, 176, 255, .18);
}

.estate-avatar-load-orbit::after {
  position: absolute;
  top: 2px;
  left: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffe4b5;
  box-shadow: 0 0 12px #ffe4b5;
  content: "";
  transform-origin: 3px 21px;
  animation: estateAvatarLoadSpin 1.1s linear infinite;
}

.estate-avatar-loading strong {
  font-size: 13px;
  letter-spacing: .08em;
}

.estate-avatar-loading small {
  margin-top: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
}

.estate-avatar-loading > div {
  display: flex;
  width: min(210px, 78%);
  margin-top: 13px;
  align-items: center;
  gap: 9px;
}

.estate-avatar-loading > div > span {
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
}

.estate-avatar-loading > div i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9a6dcc, #ffe0a4);
  transition: width .2s ease;
}

.estate-avatar-loading > div b {
  min-width: 31px;
  color: #ffe4b5;
  font-size: 9px;
  text-align: right;
}

.estate-avatar-loading p {
  margin: 12px 0 0;
  color: rgba(255, 238, 218, .66);
  font-size: 8.5px;
}

@keyframes estateAvatarLoadSpin {
  to {
    transform: rotate(360deg);
  }
}

.estate-avatar-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.estate-avatar-form {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: -16px;
  padding: 12px 14px calc(22px + env(safe-area-inset-bottom));
  flex-direction: column;
  gap: 6px;
  border-radius: 22px 22px 0 0;
  background: #f8f5fb;
  color: #342844;
}

.estate-avatar-form[aria-hidden="true"] {
  display: none;
}

.estate-avatar-form-head {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 2px;
}

.estate-avatar-form-head > div {
  display: grid;
  gap: 2px;
}

.estate-avatar-form-head small {
  color: #a08dae;
  font-size: 6.5px;
  letter-spacing: .14em;
}

.estate-avatar-form-head strong {
  color: #3b2b4b;
  font-size: 14px;
}

.estate-avatar-form-head button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  color: #766486;
  border: 1px solid #e1d5e9;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
}

.estate-avatar-form label {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  color: #786c84;
  font-size: 9px;
}

.estate-avatar-form input:not([type="color"]),
.estate-avatar-form select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  color: #33263f;
  border: 1px solid #e2d7e9;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  font-size: 12px;
}

.estate-color-grid {
  display: flex;
  gap: 8px;
}

.estate-avatar-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.estate-color-grid input[type="color"] {
  width: 100%;
  height: 38px;
  padding: 4px;
  border: 1px solid #e2d7e9;
  border-radius: 10px;
  background: #fff;
}

.estate-primary-button {
  width: 100%;
  min-height: 45px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #ac7ed1, #6944a0);
  font-size: 13px;
  font-weight: 700;
}

.estate-avatar-actions {
  display: grid;
  margin-top: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.estate-procedural-button,
.estate-hunyuan-button {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.estate-procedural-button {
  color: #fff;
  border: 1px solid rgba(137, 105, 193, .5);
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, .18), transparent 35%),
    linear-gradient(135deg, #8763b7, #62428f);
}

.estate-hunyuan-button {
  color: #fff9ef;
  border: 1px solid rgba(214, 170, 92, .55);
  background:
    radial-gradient(circle at 90% 0, rgba(255, 229, 173, .26), transparent 36%),
    linear-gradient(135deg, #a5784d, #74519d);
}

.estate-procedural-button:disabled,
.estate-hunyuan-button:disabled {
  opacity: .68;
}

.estate-avatar-panel.avatar-form-collapsed {
  overflow: hidden;
}

.estate-avatar-panel.avatar-form-collapsed .estate-avatar-stage {
  flex: 1 1 auto;
  min-height: 0;
  transition: flex-basis .24s ease;
}

.estate-avatar-panel.avatar-form-collapsed .estate-avatar-preview-note {
  top: auto;
  bottom: 72px;
}

.estate-hunyuan-status {
  min-height: 15px;
  color: #9a899f;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.estate-generation-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.estate-generation-progress > span {
  flex: 1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9deef;
}

.estate-generation-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b888de, #7550b9);
  transition: width .32s ease;
}

.estate-generation-progress b {
  flex: 0 0 34px;
  color: #6e568d;
  font-size: 9px;
  text-align: right;
}

.estate-keep-open-hint {
  margin: -1px 0 0;
  color: #9b6670;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.estate-dialog-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: calc(50px + env(safe-area-inset-bottom));
  left: 0;
  z-index: 1500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.estate-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 6, 18, .64);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.estate-dialog {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  max-height: calc(82vh - 50px - env(safe-area-inset-bottom));
  padding: 15px 16px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  color: #342844;
  border-radius: 24px 24px 0 0;
  background: #f8f5fb;
  box-shadow: 0 -18px 50px rgba(8, 4, 18, .3);
}

.estate-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.estate-dialog header small {
  color: #9f8eac;
  font-size: 7px;
  letter-spacing: .15em;
}

.estate-dialog header h3 {
  margin: 3px 0 0;
  font-size: 19px;
}

.estate-dialog header button {
  width: 31px;
  height: 31px;
  padding: 0;
  color: #786a84;
  border: 0;
  border-radius: 50%;
  background: #ece5f1;
  font-size: 20px;
}

.estate-dialog label {
  display: flex;
  margin-top: 11px;
  flex-direction: column;
  gap: 6px;
  color: #74677f;
  font-size: 10px;
}

.estate-dialog input,
.estate-dialog select {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  color: #352943;
  border: 1px solid #e3d8e9;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  font-size: 12px;
}

.estate-dialog .estate-primary-button {
  margin-top: 16px;
  position: sticky;
  bottom: 0;
  box-shadow: 0 -10px 24px rgba(248, 245, 251, .9);
}

.estate-dialog-tip {
  margin: 4px 0 7px;
  color: #94899d;
  font-size: 10px;
  line-height: 1.55;
}

.estate-buy-property {
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 10px;
  border: 1px solid #e9dfed;
  border-radius: 14px;
  background: #fff;
}

.estate-buy-property > span,
.estate-buy-property > img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 68% 24%, var(--cover-c), transparent 24%),
    linear-gradient(145deg, var(--cover-a), var(--cover-b) 60%, var(--cover-floor));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.estate-buy-property > img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.estate-buy-property strong {
  font-size: 13px;
}

.estate-settlement {
  display: flex;
  padding: 10px 2px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee5f2;
  color: #8a7c95;
  font-size: 11px;
}

.estate-settlement strong {
  color: #5c3e7e;
  font-size: 13px;
}

.estate-render-error {
  display: grid;
  height: 100%;
  align-content: center;
  gap: 8px;
  padding: 24px;
  place-items: center;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  text-align: center;
}

.estate-render-error strong {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.estate-render-error small {
  max-width: 280px;
  line-height: 1.6;
}

.estate-render-error button {
  padding: 7px 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(126, 232, 255, .16);
}

.estate-toast {
  position: fixed;
  bottom: calc(112px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 1700;
  max-width: 84vw;
  padding: 9px 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(35, 25, 52, .9);
  font-size: 10.5px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease;
}

.estate-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
