/* GOLD CITY 4.7 — residential quarters, 3D markers and municipal controls. */
#gold-city-rebirth .rb47-neighbourhood{
 display:grid;gap:15px;margin-top:20px;padding:3px 0 10px;
}
#gold-city-rebirth .rb47-neighbourhood-summary{
 display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;
 padding:13px;border-radius:12px;border:1px solid #ccb07b43;
 background:#20272d;color:#c5cbd0;font-size:11px;line-height:1.5;
}
#gold-city-rebirth .rb47-neighbourhood-summary strong{color:#f4d18b}
#gold-city-rebirth .rb47-lots-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
#gold-city-rebirth .rb47-lot-card{
 display:grid;align-content:start;gap:13px;min-width:0;
 padding:clamp(13px,2vw,19px);border-radius:16px;
 border:1px solid #d7ba805d;
 background:linear-gradient(145deg,#29313a,#171f29 80%);
 box-shadow:0 8px 24px #0003;
 color:#f3e6ce;
}
#gold-city-rebirth .rb47-lot-head{
 display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap;
}
#gold-city-rebirth .rb47-lot-mark{
 display:grid;place-items:center;width:42px;height:42px;
 border:1px solid #d9ba7566;border-radius:11px;
 background:#534228;color:#fbe2a9;font-size:22px;
 flex:none;
}
#gold-city-rebirth .rb47-lot-head>div:nth-child(2){
 display:grid;gap:4px;min-width:0;flex:1;
}
#gold-city-rebirth .rb47-lot-head small{
 font-size:9px;color:#bfcbcd;letter-spacing:.07em;
}
#gold-city-rebirth .rb47-lot-head h3{
 margin:0;font-size:clamp(13px,3vw,16px);color:#f4deaf;
 line-height:1.3;overflow-wrap:anywhere;
}
#gold-city-rebirth .rb47-lot-level{
 padding:6px 10px;font-size:10px;font-weight:850;
 background:#42392d;color:#f0d19b;border:1px solid #d0b47a72;
 border-radius:100px;white-space:nowrap;
}
#gold-city-rebirth .rb47-lot-type{
 margin:0;color:#edf2ec;font-size:13px;font-weight:850;
}
#gold-city-rebirth .rb47-lot-metrics{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
#gold-city-rebirth .rb47-lot-metrics>div{
 display:grid;gap:6px;min-width:0;padding:12px;
 border-radius:11px;border:1px solid #cab18132;
 background:#17222b;
}
#gold-city-rebirth .rb47-lot-metrics small{
 color:#bac5c7;font-size:10px;line-height:1.3;
}
#gold-city-rebirth .rb47-lot-metrics strong{
 color:#f3d49a;font-size:clamp(13px,2.5vw,17px);overflow-wrap:anywhere;
 font-variant-numeric:tabular-nums;
}
#gold-city-rebirth .rb47-lot-garden{
 display:grid;gap:5px;border-left:3px solid #75a183;
 background:#293a3665;padding:10px 12px;border-radius:5px 9px 9px 5px;
}
#gold-city-rebirth .rb47-lot-garden span{
 font-size:11px;font-weight:850;color:#c6ebcf;
}
#gold-city-rebirth .rb47-lot-garden small{
 font-size:10px;color:#b9c6c6;line-height:1.5;
}
#gold-city-rebirth .rb47-lot-actions{
 display:grid;gap:8px;align-content:end;
}
#gold-city-rebirth .rb47-lot-actions .rb-btn{
 display:flex;align-items:center;justify-content:center;
 min-height:44px;border-radius:12px;white-space:normal;
 text-align:center;font-size:12px;overflow-wrap:anywhere;
}
#gold-city-rebirth .rb47-lot-actions .rb-btn:focus-visible{
 outline:2px solid #ffefc9;outline-offset:2px;
}
#gold-city-rebirth .rb47-house-marker{
 border:1px solid #c8a967ac!important;
 background:#26332be8!important;color:#f0dea7!important;
 box-shadow:0 5px 15px #0008;font-weight:900;
}
#gold-city-rebirth .rb47-housing-screen{
 position:absolute;inset:0;z-index:69;
 display:flex;justify-content:center;align-items:stretch;
 background:#0d1219;
}
#gold-city-rebirth .rb47-housing-shell{
 width:100%;max-width:850px;height:100%;min-height:0;
 overflow-y:auto;overscroll-behavior:contain;
 padding:clamp(12px,3vw,27px) clamp(12px,3vw,28px) max(24px,env(safe-area-inset-bottom,0px));
 background:radial-gradient(ellipse at 90% -8%,#a6823938,transparent 45%),
 linear-gradient(150deg,#1a222d,#101820);
 border-inline:1px solid #d2b47e4d;scrollbar-color:#816a48 #15202a;
}
#gold-city-rebirth .rb47-housing-screen-head{
 display:flex;gap:10px;justify-content:space-between;align-items:center;
 border-bottom:1px solid #dcc08255;padding:3px 0 16px;margin-bottom:14px;
}
#gold-city-rebirth .rb47-housing-screen-head>div{min-width:0}
#gold-city-rebirth .rb47-housing-screen-head small{
 color:#dfbe83;font-size:10px;letter-spacing:.11em;font-weight:900;
}
#gold-city-rebirth .rb47-housing-screen-head h2{
 font-size:clamp(18px,4vw,25px);margin:5px 0 0;color:#f4e3bd;line-height:1.3;
}
#gold-city-rebirth .rb47-housing-screen-head .rb-btn{
 width:44px;min-width:44px;height:44px;min-height:44px;
 border-radius:11px;font-size:24px;
}
#gold-city-rebirth .rb47-housing-notice{
 color:#b7c4c8;line-height:1.6;font-size:12px;margin:0 0 16px;
}
#gold-city-rebirth .rb47-budget-hint{
 display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;
 margin-top:13px;padding:14px 15px;background:#25303a;
 border-radius:12px;color:#c3d0d0;border:1px solid #d2b57a55;font-size:12px;
}
#gold-city-rebirth .rb47-budget-hint strong{color:#f4d58c}
@media(max-width:650px){
 #gold-city-rebirth .rb47-lots-grid{grid-template-columns:1fr}
 #gold-city-rebirth .rb47-lot-card{padding:14px;gap:12px}
 #gold-city-rebirth .rb47-housing-screen-head h2{font-size:19px}
}
@media(max-width:350px){
 #gold-city-rebirth .rb47-lot-metrics{gap:5px}
 #gold-city-rebirth .rb47-lot-metrics>div{padding:9px}
 #gold-city-rebirth .rb47-lot-head{gap:6px}
 #gold-city-rebirth .rb47-lot-level{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 #gold-city-rebirth .rb47-lot-card *,
 #gold-city-rebirth .rb47-housing-screen *{transition:none!important;animation:none!important}
}
