.estate-ui{position:absolute;inset:0;z-index:13;pointer-events:none;font-family:"Noto Sans TC","PingFang TC",sans-serif;color:#3e634d;}
.estate-ui [hidden]{display:none!important;}
.estate-ui button{pointer-events:auto;font:inherit;color:inherit;min-height:44px;border:1px solid #c8c9a3;border-radius:13px;background:linear-gradient(#fffdf0,#f1e9c9);box-shadow:0 3px 0 #9a9c6838;padding:8px 13px;cursor:pointer;}
.estate-ui button:focus-visible{outline:3px solid #bf8a44;outline-offset:3px;}
.estate-ui button:disabled{opacity:.55;cursor:default;}
.estate-ui .estate-open{position:absolute;top:66px;left:12px;font-size:12px;font-weight:750;background:#fff9e9ef;}
.estate-open span{font-size:20px;vertical-align:middle;margin-right:3px;}
.estate-panel{pointer-events:auto;position:absolute;left:12px;top:119px;width:min(300px,calc(100% - 24px));max-height:calc(100% - 132px);overflow:auto;box-sizing:border-box;border:1px solid #d4c797;border-radius:20px;background:#fff9eaf7;box-shadow:0 7px 30px #244d3938;padding:13px 15px;font-size:12px;}
.estate-panel header{display:flex;gap:8px;align-items:center;justify-content:space-between;}
.estate-panel header button{font-size:24px;border-radius:50%;width:44px;flex-shrink:0;padding:0;}
.estate-panel small,.estate-confirm small{font-size:10px;letter-spacing:.08em;color:#9b8c61;}
.estate-panel h3{font-size:20px;margin:3px 0 0;}
.estate-panel svg{display:block;width:100%;height:auto;margin:8px 0;background:linear-gradient(#e6edcf,#f4edcf);border-radius:15px;}
.estate-description{line-height:1.75;margin:8px 0;}
.estate-quote{display:flex;justify-content:space-between;gap:12px;background:#efeed9;border-radius:12px;padding:10px;}
.estate-quote span{display:flex;flex-direction:column;font-size:10px;gap:5px;color:#8c815d;}
.estate-quote b{font-size:16px;color:#816836;}
.estate-hint{font-size:11px;line-height:1.7;color:#8a896b;margin:9px 0;}
.estate-status{font-size:12px;color:#a15b3e;line-height:1.6;}
.estate-status:empty{display:none;}
.estate-ui .estate-primary{background:linear-gradient(#4d9271,#2d7256);color:#fffbe7;border-color:#376e53;font-weight:700;}
.estate-panel>button{width:100%;margin-top:7px;}
.estate-panel .estate-back{box-shadow:none;border:0;background:transparent;margin-top:4px;}
.estate-destinations{display:flex;gap:12px;}.estate-destinations button{flex:1;}
.estate-confirm{pointer-events:auto;position:fixed;inset:0;width:min(430px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:2px solid #d6c695;border-radius:25px;background:#fff9e8;color:#3d654e;box-shadow:0 15px 60px #254e3b44;font-family:inherit;}
.estate-confirm::backdrop{background:#24473566;backdrop-filter:blur(5px);}
.estate-confirm-art{display:flex;justify-content:center;align-items:center;background:linear-gradient(#dce8bb,#f3edcc);height:135px;}
.estate-confirm-art img{height:120px;width:140px;object-fit:contain;filter:drop-shadow(0 6px 4px #5c703326);}
.estate-confirm-body{padding:22px 24px;}.estate-confirm h2{font-size:24px;margin:7px 0 12px;}.estate-confirm p{line-height:1.75;font-size:13px;}
.estate-confirm dl{margin:16px 0;padding:12px 0;border-block:1px solid #dfd5ad;}.estate-confirm dl div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;}.estate-confirm dt{font-size:12px;color:#8b825c;}.estate-confirm dd{margin:0;font-weight:750;}
.estate-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:17px;}.estate-confirm-actions button{min-height:48px;}
.estate-transfer{display:flex;gap:10px;margin-top:10px;}.estate-transfer button{flex:1;min-height:44px;border:1px solid #c8cba7;border-radius:11px;background:#edf0db;color:#4e7254;font:inherit;}
@media(min-width:950px){.estate-ui .estate-open{top:64px;}.estate-panel{top:116px;}}
@media(max-height:500px) and (orientation:landscape){.estate-ui .estate-open{top:12px;left:78px;}.estate-panel{top:64px;left:12px;width:300px;max-height:calc(100% - 74px);}.estate-confirm{width:min(580px,calc(100% - 32px));}.estate-confirm[open]{display:grid;grid-template-columns:32% 1fr;}.estate-confirm-art{height:100%;flex-direction:column;}.estate-confirm-art img{max-height:110px;width:100%;}.estate-confirm-body{padding:16px 20px;}.estate-confirm h2{font-size:22px;margin:5px 0;}.estate-confirm p{font-size:12px;margin:7px 0;}.estate-confirm dl{margin:8px 0;padding:6px 0;}.estate-confirm-actions{margin-top:10px;}}
#game-root .farm-layout-open{left:12px;top:12px;transform:none;min-height:44px;}
.layout-expand-land{width:100%;min-height:44px;border:1px solid #c8cba7;border-radius:11px;background:#edf0db;color:#4e7254;font:inherit;margin-bottom:8px;}
@media(max-height:500px) and (orientation:landscape){
 .estate-panel{position:fixed;top:76px;left:12px;width:330px;max-height:calc(100dvh - 90px);z-index:25;}
 .estate-panel svg{height:88px;margin:5px 0;}.estate-panel>.estate-hint{display:none;}.estate-panel h3{font-size:18px;}
 .estate-panel.is-expanding{display:grid;grid-template-columns:105px minmax(0,1fr);gap:5px 10px;width:min(390px,calc(100vw - 24px));padding:10px 12px;}
 .estate-panel.is-expanding header{grid-column:1/-1;}.estate-panel.is-expanding svg{grid-column:1;grid-row:2/6;height:115px;align-self:center;}
 .estate-panel.is-expanding .estate-description{grid-column:2;grid-row:2;font-size:11px;line-height:1.5;margin:0;}
 .estate-panel.is-expanding .estate-quote{grid-column:2;grid-row:3;padding:6px;}.estate-panel.is-expanding .estate-quote b{font-size:13px;}
 .estate-panel.is-expanding .estate-primary{grid-column:2;grid-row:4;font-size:11px;margin-top:1px;}
 .estate-panel.is-expanding .estate-back{grid-column:2;grid-row:5;font-size:11px;padding:4px;margin:0;}
 .estate-panel.is-expanding .estate-status{grid-column:1/-1;grid-row:6;margin:0;}
}
.estate-ui{z-index:31;}
