.housing-toggle{position:absolute;right:18px;top:174px;max-width:340px;min-height:44px;border:1px solid #d2b270;border-radius:8px;padding:8px 13px;background:#164b50ee;color:#fff3d8;font-size:12px;z-index:2}.housing-toggle.needs-attention{border-color:#ffc763}.home-view-controls{position:absolute;left:18px;bottom:145px;display:flex;gap:7px;flex-wrap:wrap;max-width:42%;z-index:2}.home-view-controls button{font-size:11px}.housing-listing{position:absolute;inset:0;pointer-events:none}.property-catalogue{position:absolute;left:18px;bottom:90px;width:55%;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;pointer-events:auto}.property-card{min-width:0;border:1px solid #b5c9be;border-radius:9px;background:#164752f2;color:#fff3d8;padding:5px}.property-card img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:5px}.property-card span,.property-card small{display:block;padding:3px;font-size:11px}.property-card small{color:#ffe19f}.property-card[aria-pressed=true],.household-card[aria-pressed=true]{border:2px solid #edbf68;background:#23636a}.property-info{position:absolute;right:18px;top:23%;bottom:90px;width:39%;padding:20px;overflow:auto;pointer-events:auto}.property-info h2{font-size:26px;margin:7px 0}.property-info p{font-size:12px;line-height:1.45;margin:8px 0}.property-info strong{font-size:26px;font-family:Georgia,serif;color:#125e65}.property-tenure{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0}.property-tenure button{font-size:12px;padding:6px 10px;min-height:38px}.property-tenure button[aria-pressed=true]{background:#f0c87c;color:#173f52;border-color:#ab833b}.housing-accounts{position:absolute;right:18px;top:23%;bottom:90px;width:min(500px,49%);overflow:auto;z-index:5}.housing-accounts p{font-size:12px;line-height:1.45;margin:8px 0}.house-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.house-actions button{font-size:11px;padding:7px 9px}.house-payment-controls{border-top:1px solid #ccb880;padding-top:10px;margin-top:10px}.house-payment-controls label{display:block;font-size:12px}.house-payment-controls input{width:160px;min-height:40px;border-radius:6px;border:1px solid #b6b69b;background:#fffdf5;color:#173f52;padding:7px;font:inherit}.household-shop{position:absolute;inset:0;pointer-events:none;z-index:4}.household-catalogue-panel{position:absolute;right:18px;top:23%;bottom:90px;width:46%;overflow:auto;pointer-events:auto;padding:20px}.household-catalogue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.household-card{min-width:0;border-radius:8px;border:1px solid #a9bbac;background:#174b54;color:#fff2cf;padding:5px;min-height:116px}.household-card img{display:block;width:100%;height:65px;object-fit:contain}.household-card span{display:block;font-size:10px;min-height:25px}.household-card small{display:block;font-size:11px;color:#ffe1a0}.household-selected{position:absolute;left:18px;top:25%;bottom:90px;width:41%;pointer-events:auto;overflow:auto;padding:20px}.household-selected img{display:block;width:100%;height:160px;object-fit:contain}.household-selected h2{font-size:25px;margin:7px 0}.household-selected p{font-size:12px;margin:8px 0}.household-selected strong{font-size:25px;font-family:Georgia,serif;color:#125e65}.household-inventory{position:absolute;left:18px;top:23%;bottom:90px;width:49%;overflow:auto;z-index:5}.household-inventory>p{font-size:12px}.owned-household-row{display:grid;grid-template-columns:95px minmax(0,1fr);border-top:1px solid #cbb67f;padding:9px 0;gap:9px}.owned-household-row img{width:95px;height:95px;object-fit:contain}.owned-household-row p{font-size:12px;line-height:1.4;margin:5px 0}.house-confirm{width:min(570px,92vw)}.property-info .gold-button{position:sticky;bottom:0}.house-room-hint{font-size:11px}.household-target{z-index:2}
@media(max-width:1100px){.housing-toggle{top:163px;right:12px;max-width:280px;font-size:11px}.property-info{width:41%;padding:15px;right:12px;bottom:80px}.property-info p{font-size:11px}.property-catalogue{width:52%;left:12px;bottom:80px}.property-card span{font-size:10px}.household-selected{width:40%;padding:15px}.household-catalogue-panel{width:47%;padding:15px}.household-card img{height:55px}.home-view-controls{left:12px;bottom:135px}}
@media(max-width:800px){.housing-toggle{top:calc(var(--art-top) + 65px);right:10px;max-width:220px;font-size:10px}.home-view-controls{top:calc(var(--art-top) + var(--art-height) - 60px);bottom:auto;left:10px;max-width:95%}.property-info,.housing-accounts,.household-inventory,.household-selected,.household-catalogue-panel{position:fixed;left:10px;right:10px;bottom:10px;top:auto;width:auto;max-height:55dvh;z-index:5}.property-info{max-height:45dvh}.property-catalogue{position:fixed;left:10px;right:10px;bottom:calc(45dvh + 22px);width:auto;z-index:5}.property-card img{height:55px}.household-selected{bottom:10px;max-height:35dvh}.household-catalogue-panel{bottom:calc(35dvh + 22px);max-height:40dvh}.household-selected img{height:90px}}
