.splash.farm-boot {
  background: #563b22;
  color: #fff3ce;
  isolation: isolate;
  transition: opacity 240ms ease-out;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
}
.farm-boot::after {
  content: "";
  z-index: 0;
  background: linear-gradient(180deg, transparent 55%, #29180c26 68%, #201209eb 100%);
}
.farm-boot__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 58%;
}
.farm-boot__logo {
  position: absolute;
  z-index: 1;
  top: max(env(safe-area-inset-top), 7%);
  left: 50%;
  width: min(58%, 28vh, 245px);
  height: auto;
  transform: translateX(-50%);
  animation: farm-sign-arrive 650ms cubic-bezier(.16,.8,.32,1) both;
  filter: drop-shadow(0 5px 6px #542b1642);
}
.farm-boot__pollen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.farm-boot__pollen i {
  position: absolute;
  left: 14%;
  bottom: 26%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff1af;
  opacity: 0;
  animation: farm-pollen-drift 4.8s ease-in-out infinite;
}
.farm-boot__pollen i:nth-child(2) { left: 27%; bottom: 39%; animation-delay: -2.5s; }
.farm-boot__pollen i:nth-child(3) { left: 73%; bottom: 29%; animation-delay: -1.3s; }
.farm-boot__pollen i:nth-child(4) { left: 86%; bottom: 45%; animation-delay: -3.3s; }
.farm-boot__status {
  position: absolute;
  z-index: 1;
  bottom: max(7%, calc(env(safe-area-inset-bottom) + 16px));
  left: 50%;
  transform: translateX(-50%);
  width: min(74%, 282px);
  text-align: center;
}
.farm-boot__label {
  margin: 0 0 12px;
  color: #fff5d7;
  font-size: clamp(14px, 3.8vw, 17px);
  line-height: 1.4;
  font-weight: 700;
  text-shadow: 0 1px 4px #251408;
}
.farm-boot__track {
  display: block;
  height: 6px;
  border-radius: 8px;
  background: #2f1b0ee0;
  box-shadow: 0 0 0 1px #d4a357a8;
  overflow: hidden;
}
.farm-boot__track::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bc8234, #ffe7a1);
  animation: farm-track-travel 1.65s ease-in-out infinite alternate;
}
.farm-boot__error {
  margin: 0;
  color: #fff6df;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.farm-boot__retry {
  margin-top: 12px;
  padding: 10px 22px;
  min-height: 44px;
  border: 1px solid #f7dd9d;
  border-radius: 12px;
  background: #ffdfa2;
  color: #462711;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.farm-boot [hidden] { display: none; }
.farm-boot[data-error] .farm-boot__status {
  padding: 16px;
  border-radius: 14px;
  background: #2f1c11ed;
}
@keyframes farm-sign-arrive {
  from { opacity: .2; transform: translate(-50%, 6px) scale(.97); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes farm-pollen-drift {
  0%, 100% { opacity: 0; }
  25%, 60% { opacity: .8; }
  100% { transform: translate(19px, -39px); }
}
@keyframes farm-track-travel {
  from { transform: translateX(0); }
  to { transform: translateX(150%); }
}
@media (min-aspect-ratio: 1/1) {
  .farm-boot__scene { object-position: center 60%; }
  .farm-boot__logo { top: max(env(safe-area-inset-top), 4%); }
  .farm-boot__status { bottom: max(env(safe-area-inset-bottom), 5%); }
}
@media (prefers-reduced-motion: reduce) {
  .splash.farm-boot { transition: none; }
  .farm-boot__logo, .farm-boot__track::after { animation: none; }
  .farm-boot__track::after { width: 100%; }
  .farm-boot__pollen { display: none; }
}
