/* Wahala Town V4.3: visible home, operating businesses, responsive family visits */
.active-owned{width:100%;border:1px solid #cfe4c1;text-align:left;cursor:pointer;font:inherit;transition:transform .16s,background .16s}
.active-owned:hover,.active-owned:focus-visible{background:#def4d4;transform:translateY(-2px);outline:2px solid #72bc7e}
.household-card{background:linear-gradient(115deg,#f8faeb,#eaf6dc);border:1px solid #c1d9b6}
.household-card .mama-peek{font-size:11px;font-weight:750;color:#416553;line-height:1.5;display:block;margin:9px 0}
.household-card button{border:1px solid #397159;background:#d0f1ab;border-radius:10px;font-size:11px;font-weight:950;padding:11px;width:100%;color:#174a3b;cursor:pointer}
.room-display{position:relative;margin:0 -2px 18px;border:3px solid #21483b;border-radius:17px;overflow:hidden;background:#ecd9b9;box-shadow:0 10px 24px #25574b19}
.room-display-bar{padding:9px 11px;background:#134b39;color:#f9ffe9;display:flex;justify-content:space-between;gap:12px;font-size:10px;font-weight:950;letter-spacing:.05em}
.room-display-bar span:last-child{color:#c5f28c}
.apartment-svg{display:block;width:100%;max-height:375px;background:#f4dfbc}
.room-item-pop{animation:roomAppear .45s ease both;transform-origin:center}
.lamp-spark{animation:lampGlow 2s ease-in-out infinite alternate}
.room-fan-blades{animation:roomSpin 3s linear infinite;transform-origin:0 0}
@keyframes roomAppear{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lampGlow{to{opacity:.3}}
@keyframes roomSpin{to{transform:rotate(360deg)}}
.home-shop-list{margin:15px 0;display:grid;gap:5px}
.hustle-banner{display:flex;gap:9px;align-items:center;background:#d9f2c5;border:1px solid #aed5b6;border-radius:11px;padding:13px 14px;margin-bottom:16px;color:#173c31;font-size:16px}
.hustle-banner span{margin-left:auto;font-size:9px;font-weight:950}
.business-scene{border:3px solid #295245;border-radius:15px;overflow:hidden;background:#d2efdc;margin:2px 0 18px;box-shadow:0 8px 22px #27593f17}
.business-scene-head{background:#184e3d;color:#fff9da;padding:10px 12px;display:flex;justify-content:space-between;gap:6px;font-size:11px}
.business-scene-head span{background:#c2ef7d;color:#16432f;padding:3px 7px;border-radius:12px;font-weight:950}
.business-art{min-height:215px;background:linear-gradient(#a8dddc 0 42%,#b7d8a5 42% 78%,#e8ca9a 78%);display:flex;align-items:flex-end;justify-content:space-evenly;gap:10px;padding:20px 12px;position:relative;overflow:hidden}
.business-art:before{content:'';position:absolute;inset:0 0 auto;height:70px;background:repeating-linear-gradient(90deg,#ffffff48 0 27px,transparent 27px 55px);opacity:.4}
.customer-pop{text-align:center;display:flex;flex-direction:column;align-items:center;gap:1px;z-index:1;animation:customerBounce 1.7s ease-in-out infinite alternate}
.customer-pop span{font-size:54px}
.customer-pop small{white-space:nowrap;border-radius:6px;background:#f8f2dd;padding:5px;font-size:9px;font-weight:950;border:2px solid #436355}
.service-counter{width:50%;max-width:330px;min-height:124px;border:5px solid #345c55;border-radius:7px 7px 13px 13px;background:linear-gradient(#f6da9e 0 15%,#5d9a89 16% 67%,#3f7665 68%);display:flex;flex-direction:column;justify-content:space-between;text-align:center;z-index:1;box-shadow:8px 10px #305d4735;transform:skewY(-1deg)}
.biz-neon{background:#fff5c9;color:#235140;font-size:11px;font-weight:1000;padding:8px 5px}
.shop-products{font-size:36px;letter-spacing:5px;padding:8px 1px}
.shop-counter-label{background:#174d3b;color:#e8ffd9;padding:7px;font-size:10px;font-weight:950;letter-spacing:.04em}
.shop-owner{text-align:center;font-size:39px;display:flex;flex-direction:column;gap:3px;z-index:1}
.shop-owner small{font-size:9px;font-weight:1000}
.biz-upgrade-trim{position:absolute;top:10px;right:8px;background:#ffe58e;color:#3b4b33;border-radius:20px;padding:6px 10px;font-size:9px;font-weight:1000;box-shadow:0 3px 8px #0002}
@keyframes customerBounce{to{transform:translateY(-7px)}}
.order-trail{display:flex;justify-content:center;gap:10px;margin:15px 0 10px}
.order-trail span{width:39px;height:39px;display:grid;place-items:center;background:#ecf1df;border:2px solid #93ac91;color:#56715a;border-radius:50%;font-size:15px;font-weight:1000}
.order-trail span.now{background:#bdf17b;color:#123e29;border-color:#295640;box-shadow:0 0 0 5px #c7f3b14f}
.order-trail span.done{background:#2d8a67;color:#fff;border-color:#2d8a67}
.service-timer{text-align:center;font-size:10px;font-weight:1000;letter-spacing:.1em;color:#456d57;margin:8px 0 11px}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 18px}
.product-choice{border:2px solid #a8c5aa;background:#f3f9ed;display:grid;place-items:center;gap:6px;border-radius:14px;padding:12px 9px;min-height:105px;color:#164c3c;cursor:pointer}
.product-choice span{font-size:35px}.product-choice b{font-size:12px}
.product-choice:hover,.product-choice:focus-visible{border-color:#24714c;background:#dff2ce;transform:translateY(-2px)}
.order-success{font-size:76px;text-align:center;animation:roomAppear .45s ease-out}
.invoice-card{border:2px solid #b5d3ad;border-radius:12px;overflow:hidden;margin:20px 0;background:#f5faed}
.invoice-card>div{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;gap:14px;font-size:12px;border-bottom:1px solid #d8e7cf}
.invoice-card>div:last-child{border:0}.invoice-card b{color:#124d38}.invoice-card .invoice-profit{font-weight:950;background:#d5f4b5;font-size:15px}
.mama-living-room{background:linear-gradient(#f4dac2 0 70%,#d3ad8c 70%);border:3px solid #5a705c;border-radius:16px;overflow:hidden;text-align:center;margin:2px 0 15px;padding-bottom:14px}
.mama-house-wall{background:#174d3d;color:#f8f8e1;padding:10px;font-size:10px;display:flex;justify-content:space-around;gap:10px}
.mama-characters{display:flex;justify-content:space-around;align-items:center;min-height:110px;gap:15px}
.mama-characters span:first-child{font-size:78px;animation:customerBounce 2.3s ease-in-out infinite alternate}
.mama-characters span:last-child{font-size:29px}
.mama-speech{background:#fffcee;border-radius:14px;padding:11px;margin:0 13px;position:relative;font-size:13px;font-weight:700;line-height:1.5;border:2px solid #caad8e;color:#354a36}
.owned-storefront .shop-live-customer{animation:customerBounce 1.6s infinite alternate;transform-box:fill-box;transform-origin:center}
@media(max-width:650px){.room-display-bar{font-size:8px}.apartment-svg{max-height:290px}.business-art{min-height:175px;padding:16px 7px}.customer-pop span{font-size:43px}.shop-products{font-size:24px;letter-spacing:1px}.biz-neon,.shop-counter-label{font-size:8px}.business-scene-head{font-size:9px}.product-choice{min-height:95px}.mama-characters span:first-child{font-size:67px}}
@media(prefers-reduced-motion:reduce){.room-item-pop,.lamp-spark,.room-fan-blades,.customer-pop,.order-success,.owned-storefront .shop-live-customer{animation:none!important}}
