.home-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:6px 0}.home-toolbar .button{min-height:40px;padding:7px 13px}.home-panel{width:min(640px,calc(100vw - 32px));max-height:82vh;overflow:auto;padding:22px;border:2px solid #88759e;border-radius:18px;background:#fffdf5;color:#293e4c;box-shadow:0 16px 70px #102c4055}.home-panel::backdrop{background:#102c4066}.home-panel header{display:flex;align-items:center;justify-content:space-between;gap:16px}.home-panel h2{margin:0;font-size:23px}.home-panel h3{margin:18px 0 8px}.home-panel p{font-size:14px;line-height:1.5}.home-panel>.button{margin:6px}.home-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.home-item-grid .button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:58px;white-space:normal}.home-item-grid canvas{width:32px;height:32px;image-rendering:pixelated;flex-shrink:0}.home-item-grid [aria-pressed=true]{background:#d6eef0;border:2px solid #297b8a}.home-panel label{display:flex;flex-direction:column;gap:7px;margin:16px 0}.home-panel input,.home-panel select{font:inherit;padding:11px;border:1px solid #bcb3ca;border-radius:9px}.home-contents>.button{margin:5px}

/* Picture cards make neighbor routines and visitor choices easy to scan. */
.home-panel .community-card{min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;white-space:normal;padding:10px 12px}
.home-panel .community-card-icon{display:block;font-size:28px;line-height:1.15;min-height:32px}
.home-panel .community-card[aria-pressed="true"]{background:#daf4ec;border-color:#397d88;box-shadow:inset 0 0 0 1px #397d88}
/* A small backpack opens a picture grid without covering the world permanently. */
.home-toolbar .button{min-height:44px}.backpack-item-detail{display:flex;gap:14px;align-items:center;margin:18px 0}.backpack-item-detail canvas{width:64px;height:64px;image-rendering:pixelated}.home-panel header{position:sticky;top:-22px;background:#fffdf5;padding:10px 0;z-index:1}.home-panel .button:focus-visible{outline:3px solid #257f8c;outline-offset:3px}

.world-play-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:4px 0 8px}.world-play-actions .home-toolbar{margin:0}.world-play-actions>.button{min-height:44px}
