/* Keep room geometry and game states; replace the legacy interface treatment. */
body.room-page.jd-site {
    --room-ink:#171717;
    --room-paper:#f4f1e8;
    --room-pink:#f85ca9;
    --room-lavender:#9d7fe8;
    --room-blue:#f4f1e8;
    --room-mint:#f4f1e8;
    --room-yellow:#9d7fe8;
}
.room-page.jd-site main.page-container { width:100% !important; margin:0 !important; padding:32px 4% 64px !important; }
.room-page.jd-site .game-page-wrapper { max-width:1400px !important; padding:0 !important; }
.room-page.jd-site .bot-game-view { width:100%; border:0; border-radius:0; box-shadow:none; }
.room-page.jd-site .bot-game-view.maximized { width:100vw; }
.room-page.jd-site .room-heading { padding:0; border:0; background:none; box-shadow:none; }
.room-page.jd-site .room-heading h1 { font:40px/1.1 'Anton',Impact,sans-serif; text-transform:uppercase; }
.room-page.jd-site :is(.name-overlay,.stat-overlay,.inventory-stat-pill,.happiness-status-pill,.room-buddy-name) {
    background:var(--room-paper); border:0; border-radius:4px; box-shadow:none; color:var(--room-ink);
}
.room-page.jd-site .bot-ui-overlay .stat-overlay { background:var(--room-paper); }
.room-page.jd-site .bot-ui-overlay.top-left .stat-overlay:nth-child(2) { background:var(--room-paper); }
.room-page.jd-site .name-overlay { background:var(--room-pink); }
.room-page.jd-site .name-overlay #bot-name-display { font-family:'DM Sans',Arial,sans-serif; }
.room-page.jd-site :is(.stat-bar,.inventory-stat-bar) { background:#ddd8dc; border:0; border-radius:2px; }
.room-page.jd-site :is(.stat-fill.happiness,.inventory-stat-fill.happiness) { background:var(--room-pink); }
.room-page.jd-site :is(.stat-fill.happiness.sad,.inventory-stat-fill.happiness.sad) { background:var(--room-lavender); }
.room-page.jd-site :is(.equipment-slot-button,.icon-button,.bot-name-edit-button,.room-back-button,#bot-maximize-btn) {
    background:var(--room-paper); border:1px solid var(--room-ink); border-radius:4px; box-shadow:none;
}
.room-page.jd-site #give-goodie-btn { background:var(--room-pink); }
.room-page.jd-site #bot-mine-btn { background:var(--room-lavender); }
.room-page.jd-site :is(.equipment-slot-button,.icon-button,.bot-name-edit-button,.room-back-button):is(:hover,:focus-visible) {
    background:var(--room-lavender); box-shadow:none;
}
.room-page.jd-site .game-view-overlay { background:#171717b8; backdrop-filter:none; }
.room-page.jd-site .overlay-content { background:var(--room-paper) !important; border:1px solid var(--room-ink); border-radius:4px; box-shadow:none; }
.room-page.jd-site .birth-overlay-content { background:var(--room-lavender) !important; }
.room-page.jd-site :is(.menu-title,.mining-confirm-card h3) { font-family:'Anton',Impact,sans-serif; font-weight:400; text-transform:uppercase; letter-spacing:0; }
.room-page.jd-site :is(.goodie-item-compact,.bot-skin-card) { background:#fff; border:1px solid #b9b4bb; border-radius:4px; box-shadow:none; }
.room-page.jd-site :is(.goodie-item-compact,.bot-skin-card):is(:hover,:focus-visible) { background:var(--room-lavender); box-shadow:none; transform:none; }
.room-page.jd-site :is(.mining-confirm-card,.mining-status-panel,.mining-message,.bot-shutdown-message,.bot-sick-message,.bot-bubble) {
    background:var(--room-paper); border:1px solid var(--room-ink); border-radius:4px; box-shadow:none;
}
.room-page.jd-site :is(.inventory-qty-btn,.inventory-qty-input) { border:1px solid #b9b4bb; border-radius:4px; }
.room-page.jd-site .bot-game-view .nav-cta-button,
.room-page.jd-site .my-bot-shop-panel .nav-cta-button,
.room-page.jd-site .bot-customize-link {
    background:var(--room-ink); color:var(--room-paper) !important; border:1px solid var(--room-ink); border-radius:4px; box-shadow:none;
}
.room-page.jd-site .bot-game-view .nav-cta-button.secondary { background:var(--room-lavender); color:var(--room-ink) !important; }
.room-page.jd-site :is(.bot-game-view,.my-bot-shop-panel) .nav-cta-button:is(:hover,:focus-visible),
.room-page.jd-site .bot-customize-link:is(:hover,:focus-visible) { background:#38323c; color:#fff !important; box-shadow:none; }
.room-page.jd-site .my-bot-shop-panel { width:100%; margin:0; padding:32px; background:var(--room-pink); border:0; border-radius:0; box-shadow:none; }
.room-page.jd-site .my-bot-shop-panel h2 { font:32px/1.2 'Anton',Impact,sans-serif; text-transform:uppercase; }
.room-page.jd-site .my-bot-shop-panel p { font-weight:400; }
.room-page.jd-site #admin-bot-tools { width:100%; border:1px solid #b9b4bb !important; border-radius:4px; background:var(--room-paper); box-shadow:none; }
@media(max-width:620px) {
    .room-page.jd-site main.page-container { padding:16px 0 40px !important; }
    .room-page.jd-site .room-heading h1 { font-size:24px; }
    .room-page.jd-site .my-bot-shop-panel { padding:24px 20px; }
    .room-page.jd-site .my-bot-shop-panel h2 { font-size:26px; }
}
