#game[data-mode="estate"]::after { content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#151b263d,transparent 23%,transparent 62%,#141820c7 100%); }
.estate-topline { position:absolute;top:max(13px,env(safe-area-inset-top));left:84px;right:var(--right);display:flex;align-items:baseline;gap:12px;z-index:3;pointer-events:none!important;text-shadow:0 2px 5px #10151d; }
.estate-topline>span { font-size:13px;letter-spacing:0;margin-right:auto; }
.estate-topline>b { font-size:23px;font-variant-numeric:tabular-nums; }
.estate-topline>small { font-size:11.5px;max-width:130px; }
.estate-caption { position:absolute;left:84px;top:59px;max-width:min(60vw,600px);z-index:3;text-shadow:0 2px 4px #10151d,0 0 9px #10151d8a;pointer-events:none!important; }
.estate-caption h1 { font-size:clamp(21px,2.4vw,31px);line-height:1.08;margin:0 0 5px;letter-spacing:0; }
.estate-caption p { margin:0;color:#eef0f2;font-size:clamp(13px,1.3vw,14px);font-weight:600; }
.estate-bar { z-index:5;gap:8px; }
.estate-bar .active { background:#eef0f1;color:#202329; }
.estate-pin { border:1px solid #ffffff78;background:#202832e8;color:#fff;box-shadow:0 3px 12px #10151b50;min-height:39px;max-width:158px;padding:7px 12px;font-size:13px;line-height:1.1; }
.estate-pin.owned::before { content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#d83146;margin-right:6px; }
.estate-pin.available { border-style:dashed;border-color:#f6f5ef;background:#f2f1eb;color:#202329; }
.estate-pin.occupied,.estate-pin.protected { background:#343b43db;color:#e0e3e6; }
.estate-selector { bottom:calc(var(--bottom) + 67px);left:max(100px,calc(50% - 400px));right:calc(var(--right) + 155px); }
.estate-selector .selector-title { margin:0 0 8px;padding-left:3px; }
.estate-selector .choice-model { height:clamp(66px,9vw,105px); }
.estate-selector .model-choice { grid-template-rows:auto minmax(31px,auto) 3px auto;gap:2px; }
.estate-option-detail { grid-row:4;font-size:13px;line-height:1.1;color:#e4e7ec; }
.estate-selector .model-choice[aria-pressed="true"] .estate-option-detail { color:#fff; }
.estate-facility-detail { position:absolute;left:var(--edge);bottom:calc(var(--bottom) + 242px);z-index:3;display:flex;align-items:center;gap:10px;max-width:85%;text-shadow:0 2px 5px #000; }
.estate-facility-detail>span { font-size:13px; }
.land-needed { background:#f0f1f2;color:#202329;font-size:13px;pointer-events:auto; }
.estate-quote { position:absolute;right:var(--right);bottom:calc(var(--bottom) + 72px);z-index:4;display:grid;grid-template-columns:1fr 87px;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:right;text-shadow:0 2px 4px #111; }
.estate-quote>b { font-size:27px;grid-column:1;align-self:end; }
.estate-quote>span { font-size:13px;grid-column:1;align-self:start; }
.estate-quote .review-orb { grid-column:2;grid-row:1/3;width:85px;height:85px;pointer-events:auto;font-size:33px;color:#bd233d;background:#f2f2ed; }
.estate-summary { position:absolute;bottom:calc(var(--bottom) + 92px);left:var(--edge);max-width:55%;z-index:3;text-shadow:0 2px 4px #111; }
.estate-summary>b { display:block;font-size:29px;line-height:1.1;margin-bottom:7px; }
.estate-summary>span,.estate-summary>small { display:block;max-width:400px;margin-bottom:5px; }
.estate-summary>small { font-size:12px;color:#d9dfe7; }
.estate-summary .land-needed { margin-top:10px; }
.estate-selector .model-name { background:transparent;box-shadow:none; }
.estate-note { position:absolute;left:var(--edge);bottom:calc(var(--bottom) + 54px);z-index:3;font-size:13px;text-shadow:0 2px 4px #111;max-width:65%; }
.estate-progress { display:flex;gap:4px;position:absolute;top:122px;left:84px;width:210px;z-index:3; }
.estate-progress i { height:3px;flex:1;background:#626a72; }.estate-progress .on { background:#f5f4ee; }
.estate-after { font-size:13px;max-width:230px;text-align:right; }
.estate-decision { top:49%; }
@media (max-height:450px) and (orientation:landscape) {
 .estate-topline { top:10px; }.estate-topline>b { font-size:19px; }.estate-caption { top:43px; }.estate-caption h1 { font-size:23px; }
 .estate-selector { bottom:calc(var(--bottom) + 51px);left:100px;right:calc(var(--right) + 139px); }
 .estate-selector .choice-model { height:70px; }.estate-selector .model-name { min-height:27px;font-size:13px; }
 .estate-selector .selector-title { font-size:13px;margin-bottom:2px; }.estate-option-detail { font-size:13px; }
 .estate-facility-detail { bottom:calc(var(--bottom) + 208px);left:100px; }
 .estate-quote { bottom:calc(var(--bottom) + 62px); }.estate-quote .review-orb { width:73px;height:73px; }.estate-quote>b { font-size:24px; }
 .estate-bar button { padding:8px 11px;min-height:36px;font-size:13px; }.estate-bar .round { width:36px;height:36px;padding:0; }
 .estate-progress { top:110px; }.estate-note { bottom:calc(var(--bottom) + 43px); }
}
@media (orientation:portrait) {
 .estate-topline { left:var(--edge);right:var(--right);align-items:start; }.estate-topline>span { max-width:140px;font-size:13px; }.estate-topline>b { font-size:19px; }.estate-topline>small { display:none; }
 .estate-caption { left:74px;top:62px;max-width:calc(100% - 86px); }.estate-caption h1 { font-size:23px; }.estate-caption p { font-size:13px; }
 .estate-selector { left:var(--edge);right:var(--right);bottom:calc(var(--bottom) + 133px);max-width:none; }
 .estate-selector .choice-model { height:80px; }.estate-selector .model-name { font-size:13px;min-height:40px; }
 .estate-facility-detail { left:var(--edge);bottom:calc(var(--bottom) + 300px);max-width:calc(100% - 24px);flex-wrap:wrap;gap:5px; }
 .estate-bar { flex-wrap:wrap;justify-content:space-between; }.estate-bar .left,.estate-bar .right { gap:4px; }.estate-bar button { padding:8px 10px;font-size:13px;min-height:36px; }.estate-bar .round { width:36px;height:36px; }
 .estate-quote { bottom:calc(var(--bottom) + 45px); }.estate-quote .review-orb { width:76px;height:76px; }.estate-quote>b { font-size:25px; }
 .estate-note { bottom:calc(var(--bottom) + 91px);max-width:70%; }.estate-summary { bottom:calc(var(--bottom) + 153px);max-width:95%; }
 .estate-decision { top:48%; }.estate-progress { left:74px;top:139px;width:195px; }
 .estate-after { max-width:160px;font-size:13px; }.estate-pin { max-width:125px;font-size:13px;padding:6px 9px; }
}

.estate-leaders { position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible; }
.estate-leaders line { stroke:#f2f0e4b0;stroke-width:1.2; }
.estate-leaders circle { fill:#f4f2e9;stroke:#313641;stroke-width:1.3; }
.estate-pin { white-space:normal;width:max-content; }
.estate-facility-detail { top:127px;bottom:auto;left:84px; }
.estate-note { top:167px;bottom:auto;left:84px; }
@media(max-height:450px) and (orientation:landscape){.estate-facility-detail{top:112px;left:84px;}.estate-note{top:151px;left:84px;font-size:13px;}}
@media(orientation:portrait){.estate-facility-detail{top:140px;left:var(--edge);max-width:calc(100% - 24px);}.estate-note{top:198px;left:var(--edge);}}
