body[data-view="farm"] .wallet-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid #68572d;
  border-radius: 14px 12px 15px 13px;
  background: #fae8ad;
  color: #67552c;
  box-shadow: inset 0 3px 0 #fff8d2, 0 3px 0 #57482a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.wallet-entry .icon { width: 21px; height: 21px; }
.wallet-entry:active { transform: translateY(2px); }
.wallet-entry:focus-visible { outline: 3px solid #fff8d2; outline-offset: 4px; }
.farm-connection {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  text-align: center;
  background: #f5edcf;
  color: #67552c;
}
.farm-connection h1 { font-size: 28px; }
.farm-connection p { line-height: 1.8; }
.farm-connection a { color: #486332; padding: 14px; min-height: 48px; }
.farm-loading-seed { width: 22px; height: 28px; border-radius: 50% 50% 45% 45%; background: #e7c477; border: 2px solid #9b7c39; box-shadow: inset 4px 3px 0 #fff0c5; }
@media (prefers-reduced-motion: no-preference) {
  .farm-loading-seed { animation: seed-sway 1.4s ease-in-out infinite; }
  @keyframes seed-sway { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg) translateY(-3px); } }
}
@media (max-width: 700px) {
  body[data-view="farm"] .wallet-entry { min-height: 44px; padding: 0 10px; font-size: 12px; gap: 4px; }
  body[data-view="farm"] .wallet-entry .icon { width: 18px; height: 18px; }
  body[data-view="farm"] .top-actions { gap: 6px; }
  body[data-view="farm"] .sound-button,
  body[data-view="farm"] .mobile-menu-button { width: 44px; height: 44px; }
}
@media (max-width: 370px) {
  body[data-view="farm"] .topbar { padding-inline: 10px; }
  body[data-view="farm"] .wordmark { font-size: 20px; }
  body[data-view="farm"] .wallet-entry { padding-inline: 8px; }
  body[data-view="farm"] .wallet-entry .icon { display: none; }
}

/* Public farm: scenery and ambient hens, with no simulated assets or progression. */
body[data-auth="guest"] .hen-bubble,
body[data-auth="guest"] .hen-name,
body[data-auth="guest"] .scene-note,
body[data-auth="guest"] .farm-chip-title,
body[data-auth="guest"] .farm-chip .desktop-only { display: none; }
body[data-auth="guest"] .farm-action { opacity: 1; }
body[data-auth="guest"] .wallet-entry { background: #fff1b9; }
.guest-welcome { text-align: center; }
.guest-welcome-hen { width: 140px; height: 145px; margin: 0 auto; position: relative; }
.guest-welcome-hen .hen-art { width: 140px; height: 145px; }
.guest-welcome-copy { color: #78623b; font-size: 15px; line-height: 1.8; max-width: 270px; margin: 16px auto 24px; }
