/* The scene retains its original dimensions; the mailbox sits at its front edge. */
.home-room-with-mailbox{display:flex;flex-direction:column;isolation:isolate}.home-room-with-mailbox>.room-wrap{flex:none}
#app-screen .home-mailbox{display:flex;align-items:center;gap:12px;position:relative;z-index:8;width:100%;min-height:86px;margin:-17px 0 8px;padding:0 7px 0 0;border:0;border-radius:18px;background:transparent;text-align:left;color:var(--text-primary);font:inherit;isolation:isolate}
.home-mailbox-object{position:relative;flex:0 0 80px;width:80px;height:95px;display:block}.home-mailbox-art{width:100%;height:100%;display:block;overflow:visible}.home-mailbox-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;line-height:1.35}.home-mailbox-copy strong{font-size:1rem;font-weight:600;letter-spacing:-.01em}.home-mailbox-copy>span{font-size:.8125rem;color:var(--text-secondary)}.home-mailbox-copy small{align-self:flex-start;color:var(--accent-pressed);background:var(--selected-background);border-radius:99px;padding:2px 7px;font-size:.6875rem;font-weight:600;line-height:1.4}.home-mailbox-arrow{flex:0 0 18px;color:var(--text-secondary)}
.home-mailbox-count{position:absolute;right:-1px;top:4px;display:flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 4px;background:var(--accent);color:var(--on-accent);border:2px solid var(--page-background);border-radius:99px;font-size:.6875rem;font-weight:700;line-height:1}
@media (hover:hover){#app-screen .home-mailbox:hover{background:color-mix(in srgb, var(--border-default) 50.2%, transparent)}}#app-screen .home-mailbox:focus-visible{outline:3px solid var(--accent);outline-offset:3px}#app-screen .home-mailbox:active{transform:none}
@media(max-width:350px){#app-screen .home-mailbox{gap:8px}.home-mailbox-object{flex-basis:68px;width:68px;height:86px}.home-mailbox-copy strong{font-size:.9375rem}.home-mailbox-arrow{display:none}}
/* Phase 3a: compact mailbox so the house and the primary card fit the first screen (UI_SPEC §7). */
#app-screen .home-mailbox{min-height:60px;margin:-14px 0 2px;gap:10px}
#app-screen .home-mailbox-object{flex:0 0 52px;width:52px;height:62px}
#app-screen .home-mailbox-copy{gap:2px}#app-screen .home-mailbox-copy strong{font-size:.9375rem}#app-screen .home-mailbox-copy span{font-size:.8125rem}
.large-text #app-screen .home-mailbox-copy strong{font-size:1.0625rem}.large-text #app-screen .home-mailbox-copy span{font-size:1rem}
