/* The selected residence design. All styles stay inside the Prestige screen/dialog. */
body:not(.crime-mode) #screen-game .prestige-residence{--pr-green:#103d2d;--pr-paper:#fff8e7;--pr-gold:#c8a363;border:1px solid #b59450;border-radius:11px;background:radial-gradient(ellipse at 25% 10%,#244c38,#0c2e22 70%);color:#f7e4ae;max-width:100%;font:14px/1.45 system-ui,sans-serif;padding:22px}
body:not(.crime-mode) #screen-game .prestige-residence *,body:not(.crime-mode) #screen-game .prestige-residence *::before,body:not(.crime-mode) #screen-game .prestige-residence *::after,#modal-box .pr-confirm *{box-sizing:border-box;min-width:0}
body:not(.crime-mode) #screen-game .prestige-residence button{font:inherit;cursor:pointer;min-height:44px;max-width:100%;white-space:normal;color:inherit}
body:not(.crime-mode) #screen-game .prestige-residence button:focus-visible,#modal-box .pr-confirm button:focus-visible{outline:3px solid #f4d483;outline-offset:3px}
body:not(.crime-mode) #screen-game .prestige-residence button:disabled{cursor:not-allowed;opacity:.6}
body:not(.crime-mode) #screen-game .prestige-residence .pr-heading{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:20px}
body:not(.crime-mode) #screen-game .prestige-residence .pr-heading>div{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
body:not(.crime-mode) #screen-game .prestige-residence h2{font:400 42px/1.1 Georgia,serif;color:#efd798;margin:0}
body:not(.crime-mode) #screen-game .prestige-residence .pr-heading p{font:15px/1.4 Georgia,serif;color:#d0be91;margin:0;max-width:290px}
body:not(.crime-mode) #screen-game .prestige-residence .pr-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:8px}
body:not(.crime-mode) #screen-game .prestige-residence .pr-categories button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #ad8c49;background:linear-gradient(#153c2c,#09291f);padding:13px 10px;border-radius:5px;color:#e6d3a3;font:16px/1.3 Georgia,serif}
body:not(.crime-mode) #screen-game .prestige-residence .pr-categories button small{font:11px system-ui,sans-serif;opacity:.7}
body:not(.crime-mode) #screen-game .prestige-residence .pr-categories button[aria-pressed=true]{background:linear-gradient(#fff4d5,#d9bd80);color:#40351f;box-shadow:inset 0 0 0 2px #fff0bf,0 2px 6px #0003}
body:not(.crime-mode) #screen-game .prestige-residence .pr-workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;grid-template-rows:auto 1fr;gap:18px;align-items:stretch}
body:not(.crime-mode) #screen-game .prestige-residence .pr-hero{grid-column:1;grid-row:1;position:relative;margin:0;border:1px solid #bb9856;border-radius:6px;overflow:hidden;background:#0a271e;isolation:isolate}
body:not(.crime-mode) #screen-game .prestige-residence .pr-hero-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
body:not(.crime-mode) #screen-game .prestige-residence .pr-hero figcaption{position:absolute;bottom:0;left:0;right:0;padding:50px 22px 20px;background:linear-gradient(transparent,#062318e8);color:#fff0c5;text-shadow:0 1px 4px #0008;pointer-events:none}
body:not(.crime-mode) #screen-game .prestige-residence .pr-hero figcaption>span{font-size:11px;letter-spacing:.4px;color:#e4d3ab}
body:not(.crime-mode) #screen-game .prestige-residence .pr-hero h3{font:700 28px/1.2 Georgia,serif;color:#fff0c5;margin:5px 0 0;overflow-wrap:break-word}
body:not(.crime-mode) #screen-game .prestige-residence .pr-detail{grid-column:2;grid-row:1/span 2;padding:24px 20px;background:radial-gradient(ellipse at 0 0,#fffdf2,#f2e4c5);border:1px solid #bb9856;box-shadow:inset 0 0 0 4px #fff7df,inset 0 0 0 5px #cfb580;border-radius:6px;color:#203f2d;text-align:center}
body:not(.crime-mode) #screen-game .prestige-residence .pr-eyebrow,#modal-box .pr-confirm .pr-eyebrow{display:block;font:10px/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:1.4px;color:#8f713c}
body:not(.crime-mode) #screen-game .prestige-residence .pr-detail h3,#modal-box .pr-confirm h3{font:700 28px/1.2 Georgia,serif;color:#243a2b;margin:7px 0 22px;overflow-wrap:break-word}
body:not(.crime-mode) #screen-game .prestige-residence .pr-portrait{display:block;width:180px;height:180px;max-width:100%;object-fit:cover;margin:0 auto 24px;border:5px double #b59046;border-radius:50%;box-shadow:0 3px 8px #694c222e}
body:not(.crime-mode) #screen-game .prestige-residence .pr-effects,#modal-box .pr-confirm .pr-effects{list-style:none;padding:0;margin:0 0 20px;text-align:left;color:#24412f}
body:not(.crime-mode) #screen-game .prestige-residence .pr-effects li,#modal-box .pr-confirm .pr-effects li{display:flex;align-items:center;gap:12px;padding:7px 0;font:700 17px/1.35 Georgia,serif;overflow-wrap:break-word}
body:not(.crime-mode) #screen-game .prestige-residence .pr-effects svg,#modal-box .pr-confirm .pr-effects svg{flex:0 0 22px;width:22px;height:22px;color:#92703a}
body:not(.crime-mode) #screen-game .prestige-residence .pr-requires{display:flex;align-items:center;gap:9px;border-top:1px solid #d6c39a;padding-top:14px;margin-top:6px;font-size:11px;text-align:left;color:#8f7345}
body:not(.crime-mode) #screen-game .prestige-residence .pr-requires strong{display:block;font-size:12px;margin-top:3px;color:#6c532b;line-height:1.5}
body:not(.crime-mode) #screen-game .prestige-residence .pr-requires>svg{flex:0 0 18px}
body:not(.crime-mode) #screen-game .prestige-residence .pr-price,#modal-box .pr-confirm .pr-price{border-top:1px solid #cdb78b;padding-top:16px;margin:20px 0 16px;color:#6d5732;text-align:center}
body:not(.crime-mode) #screen-game .prestige-residence .pr-price>span,#modal-box .pr-confirm .pr-price>span{display:block;font-size:12px;margin-bottom:4px}
body:not(.crime-mode) #screen-game .prestige-residence .pr-price>strong,#modal-box .pr-confirm .pr-price>strong{display:block;font:700 28px/1.3 Georgia,serif;color:#2c3928}
body:not(.crime-mode) #screen-game .prestige-residence .pr-buy,#modal-box .pr-confirm .pr-buy{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:13px 15px;min-height:46px;background:linear-gradient(#f5d990,#c3a05a);color:#433215;border:1px solid #a5803b;border-radius:5px;box-shadow:inset 0 1px #fff1bc,0 2px 5px #75531e26;font:700 18px/1.3 Georgia,serif}
body:not(.crime-mode) #screen-game .prestige-residence .pr-action-note{font-size:11px;line-height:1.5;color:#846f4e;margin:12px 0 0;overflow-wrap:break-word}
body:not(.crime-mode) #screen-game .prestige-residence .pr-catalog{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(var(--pr-count),minmax(0,1fr));gap:14px;align-content:start}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;border:1px solid #a78b51;border-radius:5px;overflow:hidden;background:#0a2c20;color:#f6e6bd;box-shadow:none}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item-content{display:flex;flex-direction:column;gap:7px;padding:12px 11px;flex:1}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item-content>strong{font:700 16px/1.3 Georgia,serif;color:#f9e8ba;overflow-wrap:break-word}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item-price{font:18px/1.3 Georgia,serif;color:#e8ca82}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item-state{display:flex;align-items:center;gap:5px;font:11px/1.4 system-ui,sans-serif;color:#d4c7a7;margin-top:auto}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item-state>svg{flex:0 0 14px;width:14px;height:14px}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item-requirement{display:block;font:10px/1.4 system-ui,sans-serif;color:#b8ad90;overflow-wrap:break-word}
body:not(.crime-mode) #screen-game .prestige-residence .pr-selected{border-color:#f3ce79;box-shadow:0 0 0 2px #d2b067,0 0 13px #d9b05c55}
body:not(.crime-mode) #screen-game .prestige-residence .pr-item:hover{border-color:#e5c176}
body:not(.crime-mode) #screen-game .prestige-residence .pr-owned .pr-item-state{color:#b6d797}
body:not(.crime-mode) #screen-game .prestige-residence .pr-locked .pr-item-image{filter:saturate(.65) brightness(.85)}
body:not(.crime-mode) #screen-game .prestige-residence svg.ico [fill]:not([fill=none]),#modal-box .pr-confirm svg.ico [fill]:not([fill=none]){fill:#c4a164!important}
body:not(.crime-mode) #screen-game .prestige-residence svg.ico [stroke]:not([stroke=none]),#modal-box .pr-confirm svg.ico [stroke]:not([stroke=none]){stroke:currentColor!important}
#modal-box .pr-confirm{color:#29432f;text-align:center;font:14px/1.45 system-ui,sans-serif}
#modal-box .pr-confirm .pr-confirm-image{display:block;width:100%;height:auto;max-height:230px;aspect-ratio:3/2;object-fit:cover;border:1px solid #cbb47b;border-radius:6px;margin-bottom:18px}
#modal-box .pr-confirm .pr-confirm-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
#modal-box .pr-confirm .pr-confirm-actions button{min-height:46px;margin:0;white-space:normal}
#modal-box .pr-confirm .pr-effects{max-width:380px;margin-inline:auto}
@media(max-width:1100px){body:not(.crime-mode) #screen-game .prestige-residence .pr-workspace{grid-template-columns:minmax(0,1fr) 300px}body:not(.crime-mode) #screen-game .prestige-residence .pr-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.crime-mode) #screen-game .prestige-residence .pr-item-content>strong{font-size:15px}}
@media(max-width:850px){body:not(.crime-mode) #screen-game .prestige-residence .pr-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:16px}body:not(.crime-mode) #screen-game .prestige-residence .pr-hero{grid-column:1;grid-row:1}body:not(.crime-mode) #screen-game .prestige-residence .pr-detail{grid-column:1;grid-row:2}body:not(.crime-mode) #screen-game .prestige-residence .pr-catalog{grid-column:1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.crime-mode) #screen-game .prestige-residence .pr-effects{max-width:400px;margin-inline:auto}}
@media(max-width:600px){body:not(.crime-mode) #screen-game .prestige-residence{padding:12px}body:not(.crime-mode) #screen-game .prestige-residence h2{font-size:34px}body:not(.crime-mode) #screen-game .prestige-residence .pr-heading{gap:16px;margin-bottom:14px}body:not(.crime-mode) #screen-game .prestige-residence .pr-heading>div{gap:9px}body:not(.crime-mode) #screen-game .prestige-residence .pr-heading p{font-size:13px}body:not(.crime-mode) #screen-game .prestige-residence .pr-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body:not(.crime-mode) #screen-game .prestige-residence .pr-categories button{font-size:14px;padding:11px 7px;gap:6px}body:not(.crime-mode) #screen-game .prestige-residence .pr-categories button:last-child{grid-column:1/-1}body:not(.crime-mode) #screen-game .prestige-residence .pr-categories button>svg{width:18px;height:18px;flex-shrink:0}body:not(.crime-mode) #screen-game .prestige-residence .pr-hero figcaption{padding:25px 12px 12px}body:not(.crime-mode) #screen-game .prestige-residence .pr-hero h3{font-size:22px}body:not(.crime-mode) #screen-game .prestige-residence .pr-detail{padding:22px 15px}body:not(.crime-mode) #screen-game .prestige-residence .pr-detail h3{font-size:27px}body:not(.crime-mode) #screen-game .prestige-residence .pr-catalog{gap:10px}body:not(.crime-mode) #screen-game .prestige-residence .pr-item-content{padding:10px 8px}body:not(.crime-mode) #screen-game .prestige-residence .pr-item-content>strong{font-size:14px}body:not(.crime-mode) #screen-game .prestige-residence .pr-item-price{font-size:16px}body:not(.crime-mode) #screen-game .prestige-residence .pr-item-state{font-size:10px}}
@media(prefers-reduced-motion:reduce){body:not(.crime-mode) #screen-game .prestige-residence *,#modal-box .pr-confirm *{transition:none!important}}
