.entry-page {
  margin: 0;
  min-height: 100dvh;
  color: #294735;
  background: #8bcac0;
  overflow-x: hidden;
  font-family: var(--font-body, Arial, sans-serif);
}
.entry-page [hidden] {
  display: none !important;
}
.entry-landscape {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(#83c9cd 0%, #b8dfc2 60%, #87ad5a 60%);
}
.entry-sun {
  position: absolute;
  right: calc(max(0px, (100vw - 1250px) / 2) + 460px);
  top: 50px;
  width: 90px;
  height: 90px;
  background: #fff1a6;
  box-shadow:
    0 0 0 20px #fff0a320,
    0 0 0 44px #fff0a311;
  border-radius: 50%;
}
.entry-cloud {
  position: absolute;
  width: 190px;
  height: 38px;
  background: #ffffff52;
  box-shadow:
    32px -20px #ffffff52,
    74px 14px #ffffff52;
  animation: cloud-drift 32s ease-in-out infinite alternate;
}
.cloud-one {
  top: 11%;
  left: 8%;
}
.cloud-two {
  top: 24%;
  left: 50%;
  transform: scale(0.65);
  animation-delay: -12s;
}
.entry-hills {
  position: absolute;
  inset: 45% -10% -20%;
  background: #80ae6a;
  border-radius: 48% 40% 0 0;
  transform: rotate(-5deg);
  box-shadow: 300px -35px 0 #689954;
}
.entry-grass {
  position: absolute;
  inset: auto 0 0;
  height: 250px;
  background: #6f9b48;
}
.entry-scenery-object {
  position: absolute;
  image-rendering: pixelated;
}
.entry-scenery-object > .art {
  width: 100%;
  height: 100%;
  display: block;
}
.entry-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 32px 5vw;
  font:
    700 29px Georgia,
    serif;
  color: #254b35;
}
.entry-brand > span {
  width: 46px;
  height: 46px;
}
.entry-brand .art {
  width: 100%;
  height: 100%;
}
.entry-brand small {
  display: block;
  font:
    700 9px Arial,
    sans-serif;
  letter-spacing: 3px;
  margin-top: 7px;
}
.entry-layout {
  position: relative;
  max-width: 1250px;
  margin: 2vh auto 105px;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 70px;
  padding: 0 30px;
}
.entry-story {
  align-self: start;
  padding-top: 44px;
  text-shadow: 0 2px #ddf1bd70;
}
.entry-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.6px;
}
.entry-story h1 {
  font:
    700 clamp(36px, 4.3vw, 60px) / 1.06 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 24px 0;
  color: #20452f;
}
.entry-story > p {
  font-size: 17px;
  line-height: 1.8;
  color: #32533a;
}
.entry-promises {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.entry-promises > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.entry-promises i {
  width: 26px;
  height: 26px;
}
.entry-promises .art {
  width: 100%;
  height: 100%;
}
.entry-card {
  padding: 28px 30px 23px;
  background: #fff4dbef;
  border: 3px solid #967447;
  border-radius: 22px;
  box-shadow:
    0 7px 0 #795832,
    0 22px 60px #20362330;
  backdrop-filter: blur(9px);
}
.entry-card-top {
  display: flex;
  gap: 16px;
  align-items: center;
}
.entry-card-top > span {
  display: block;
  width: 48px;
  height: 60px;
  flex: none;
}
.entry-card-top .art {
  width: 100%;
  height: 100%;
}
.entry-card-top small {
  letter-spacing: 1.6px;
  font-size: 8px;
  color: #8a6737;
  font-weight: 800;
}
.entry-card h2 {
  font:
    700 26px/1.2 Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 7px 0 0;
}
.entry-card > p:first-of-type {
  font-size: 13px;
  color: #7d755b;
  margin: 14px 0 20px;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #dcc596;
  margin-bottom: 20px;
}
.auth-tabs button {
  width: 50%;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 11px;
  color: #807050;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.auth-tabs button[aria-selected="true"] {
  border-bottom-color: #527943;
  color: #365b30;
  background: #e7e7b652;
  border-radius: 8px 8px 0 0;
}
.google-signin {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  min-height: 46px;
  background: #fffefb;
  border: 1px solid #ccb995;
  border-radius: 8px;
  color: #3e433d;
  font-weight: 700;
  cursor: pointer;
}
.google-signin:hover {
  background: #f5eedb;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9c8b6c;
  font-size: 11px;
  margin: 16px 0;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: #e3d1ad;
  flex: 1;
}
.entry-card form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 13px;
  color: #615739;
}
.entry-card input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #cebc94;
  background: #fffdf6;
  border-radius: 8px;
  padding: 12px 13px;
  margin-top: 7px;
  color: #354834;
  font:
    14px Arial,
    sans-serif;
  min-height: 44px;
}
.entry-card input:focus {
  outline: 2px solid #81a55b;
  outline-offset: 2px;
}
.password-wrap {
  position: relative;
  display: block;
}
.password-wrap input {
  padding-right: 75px;
}
.password-wrap button {
  position: absolute;
  right: 8px;
  top: 3px;
  bottom: 3px;
  background: none;
  border: 0;
  font-size: 10px;
  color: #577443;
  font-weight: bold;
  cursor: pointer;
}
.auth-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 22px;
  margin: 0 0 14px;
}
.auth-form-meta small {
  font-size: 10px;
  color: #8b7857;
}
.auth-form-meta button {
  margin-left: auto;
}
.entry-card .text-button {
  font-size: 11px;
}
.entry-card .full {
  width: 100%;
  min-height: 46px;
  font-size: 13px;
}
.auth-message {
  padding: 12px;
  border-radius: 8px;
  background: #e4efd2;
  font-size: 12px;
  line-height: 1.6;
  color: #426035;
}
.auth-message.error {
  background: #fbe3d6;
  color: #983c2d;
}
.preview-note {
  display: grid;
  gap: 5px;
  font-size: 11px;
  line-height: 1.5;
  background: #f3e7c6;
  border-left: 3px solid #c6a366;
  padding: 11px 12px;
  margin: 17px 0;
}
.preview-note strong {
  color: #7a6032;
}
.preview-note span {
  color: #8c7958;
}
.local-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 10px;
  border: 1px solid #cdd6a6;
  background: #eaf0d5;
  border-radius: 9px;
  color: #385d38;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
}
.local-preview > span:first-child {
  width: 29px;
  height: 29px;
  flex: none;
}
.local-preview .art {
  width: 100%;
  height: 100%;
}
.local-preview span span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 4px;
  text-align: left;
}
.local-preview b {
  margin-left: auto;
}
.entry-footnote {
  display: block;
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  color: #9a8866;
  margin-top: 17px;
}
.entry-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 5vw;
  font-size: 10px;
  color: #f6f3d6;
}
.entry-footer a {
  color: inherit;
}
.entry-footer > span:last-child {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.entry-page button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.entry-page button:focus-visible {
  outline: 3px solid #73984e;
  outline-offset: 3px;
}
.game-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  text-align: center;
  background: #edf0d6;
  color: #345536;
  padding: 24px;
}
.game-gate h1 {
  font:
    32px Georgia,
    serif;
}
.game-gate p {
  max-width: 560px;
  line-height: 1.6;
}
.gate-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.game-gate [hidden] {
  display: none !important;
}
#app[hidden] {
  display: none !important;
}
@keyframes cloud-drift {
  to {
    translate: 65px 0;
  }
}
@media (max-width: 900px) {
  .entry-layout {
    gap: 25px;
    grid-template-columns: 1fr 400px;
  }
  .entry-story h1 {
    font-size: 43px;
  }
  .entry-promises {
    flex-direction: column;
  }
  .entry-card {
    padding: 25px;
  }
  .entry-brand {
    padding: 22px 30px;
  }
}
@media (max-width: 700px) {
  .entry-brand {
    justify-content: center;
    font-size: 27px;
    padding: 25px 15px;
  }
  .entry-layout {
    display: block;
    max-width: 440px;
    padding: 0 17px;
    margin: 0 auto 30px;
  }
  .entry-story {
    text-align: center;
    padding-top: 5px;
    margin-bottom: 25px;
  }
  .entry-story h1 {
    font-size: 35px;
    letter-spacing: -1px;
    margin: 12px 0;
  }
  .entry-story > p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
  }
  .entry-kicker,
  .entry-promises {
    display: none;
  }
  .entry-card {
    padding: 23px 22px;
  }
  .entry-card h2 {
    font-size: 24px;
  }
  .entry-footer {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 9px;
  }
  .entry-sun {
    top: 8%;
    right: 8%;
    width: 65px;
    height: 65px;
  }
  .entry-scenery-object {
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-cloud {
    animation: none;
  }
  .entry-page .frame-track {
    animation: none;
  }
}
.entry-card-top .frame-track > .art {
  width: calc(100% / var(--frames));
  height: 100%;
  flex: none;
}
@media (min-width: 701px) and (max-height: 820px) {
  .entry-brand {
    padding: 16px 4vw;
    font-size: 25px;
  }
  .entry-brand > span {
    width: 38px;
    height: 38px;
  }
  .entry-layout {
    margin: 0 auto 28px;
    gap: 40px;
  }
  .entry-story {
    padding-top: 32px;
  }
  .entry-story h1 {
    font-size: 44px;
    margin: 18px 0;
  }
  .entry-story > p {
    font-size: 15px;
  }
  .entry-promises {
    margin-top: 15px;
  }
  .entry-card {
    padding: 19px 25px;
  }
  .entry-card-top > span {
    height: 43px;
    width: 35px;
  }
  .entry-card h2 {
    font-size: 23px;
  }
  .entry-card > p:first-of-type {
    margin: 8px 0 11px;
    font-size: 12px;
  }
  .auth-tabs {
    margin-bottom: 12px;
  }
  .auth-tabs button {
    padding: 8px;
  }
  .auth-divider {
    margin: 10px 0;
  }
  .entry-card form label {
    margin-bottom: 10px;
  }
  .entry-card input {
    padding: 10px 12px;
    margin-top: 5px;
  }
  .auth-form-meta {
    margin-bottom: 8px;
  }
  .preview-note {
    margin: 11px 0;
    padding: 9px 10px;
  }
  .local-preview {
    margin-top: 11px;
    padding: 10px;
  }
  .entry-footnote {
    margin-top: 10px;
    font-size: 9px;
  }
}

/* The farm is anchored as a scene, not scattered across the viewport. */
#entry-scenery {
  position: absolute;
  bottom: 0;
  left: calc(50% + 80px);
  width: 2304px;
  height: 384px;
  transform: translateX(-50%);
  transform-origin: bottom center;
}
#entry-terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.entry-page {
  min-height: max(100dvh, 1060px);
  position: relative;
}
.entry-landscape {
  position: absolute;
}
.entry-layout {
  z-index: 1;
}
.entry-footer {
  z-index: 1;
  position: absolute;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background: #254b35c9;
}
@media (min-width: 701px) and (max-height: 820px) {
  .entry-page {
    min-height: 960px;
  }
  #entry-scenery {
    transform: translateX(-50%) scale(0.85);
  }
}
@media (min-width: 701px) and (max-width: 1400px) {
  #entry-scenery {
    transform: translateX(-50%) scale(0.85);
  }
}
@media (max-width: 700px) {
  .entry-page {
    padding-bottom: 320px;
    min-height: 100dvh;
  }
  .entry-landscape {
    min-height: 100%;
  }
  .entry-scenery-object {
    opacity: 1;
  }
  #entry-scenery {
    left: calc(50% + 340px);
    transform: translateX(-50%) scale(0.7);
  }
  .entry-sun {
    top: 55px;
    right: 5%;
  }
  .entry-footer {
    padding: 10px;
    gap: 8px;
  }
}
