:root {
  --green: #74ab28;
  --green-deep: #4f831d;
  --brown: #69411d;
  --brown-deep: #4a2b12;
  --brown-soft: #8b6238;
  --paper: #fff8ec;
  --paper-strong: #f8edd7;
  --paper-border: rgba(131, 96, 50, 0.24);
  --ink: #1b150f;
  --muted: #665035;
  --shadow: 0 20px 38px rgba(91, 63, 27, 0.18);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Nunito Sans", sans-serif;
  overflow-x: hidden;
  background-color: #efd6a8;
  background-image:
    linear-gradient(180deg, rgba(255, 250, 238, 0.34), rgba(239, 214, 168, 0.06) 38%, rgba(221, 181, 118, 0.14)),
    radial-gradient(170% 220px at 48% 108%, rgba(0, 0, 0, 0) 49%, rgba(169, 122, 65, 0.14) 51%, rgba(0, 0, 0, 0) 54%),
    radial-gradient(156% 180px at 54% 108%, rgba(0, 0, 0, 0) 55%, rgba(255, 244, 218, 0.26) 57%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(185% 250px at 28% 112%, rgba(0, 0, 0, 0) 47%, rgba(176, 128, 70, 0.11) 49%, rgba(0, 0, 0, 0) 52%),
    radial-gradient(190% 230px at 76% 112%, rgba(0, 0, 0, 0) 50%, rgba(248, 236, 205, 0.2) 52%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(220% 170px at 50% -24%, rgba(255, 248, 231, 0.18) 0 18%, rgba(255, 248, 231, 0) 25%),
    linear-gradient(90deg, #f5ddb2 0%, #efd19a 24%, #f4ddb6 50%, #ebcb96 76%, #f1d8ac 100%);
  background-position:
    center top,
    0 0,
    0 44px,
    0 6px,
    0 88px,
    center top,
    center top,
    center top;
  background-repeat:
    no-repeat,
    repeat-y,
    repeat-y,
    repeat-y,
    repeat-y,
    no-repeat,
    no-repeat;
  background-size:
    100% 100%,
    100% 540px,
    100% 540px,
    100% 620px,
    100% 620px,
    100% 100%,
    100% 100%;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: "Nunito Sans", sans-serif;
}

code {
  background: rgba(105, 65, 29, 0.08);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

:focus-visible {
  outline: 3px solid rgba(116, 171, 40, 0.55);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(1740px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.section-header {
  position: relative;
  display: grid;
  gap: 0;
  filter: drop-shadow(0 18px 28px rgba(84, 58, 24, 0.18));
  z-index: 20;
}

.section-topline {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--green);
  color: #fff8df;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  padding: 18px 24px;
  text-align: center;
}

.masthead-stage {
  position: relative;
  min-height: clamp(240px, 21vw, 336px);
  margin-bottom: -28px;
  isolation: isolate;
  z-index: 1;
}

.masthead-stage-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: url("../images/home/topbg.jpg") center top / cover no-repeat;
}

.masthead-stage-backdrop::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(108, 70, 29, 0), rgba(108, 70, 29, 0.18));
}

.masthead-stage-backdrop::after {
  content: none;
}

.masthead-stage > img {
  position: absolute;
}

.masthead-badge {
  pointer-events: none;
  user-select: none;
  top: -22px;
  left: clamp(34px, 3vw, 52px);
  width: clamp(86px, 8vw, 132px);
  z-index: 6;
  filter: drop-shadow(0 16px 20px rgba(76, 50, 20, 0.28));
}

.primary-nav {
  position: relative;
  z-index: 40;
  overflow: visible;
  background: linear-gradient(180deg, #8c5828, var(--brown-deep));
  border-top: 3px solid rgba(255, 242, 210, 0.34);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 18px 26px rgba(84, 58, 24, 0.18);
}

.primary-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
  overflow: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-radius: inherit;
}

.primary-nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 58px;
  padding: 18px 20px;
  text-align: center;
  text-decoration: none;
  color: #fff6e2;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
  background: linear-gradient(180deg, #84bc2f, #71aa22);
}

.nav-menu {
  position: relative;
  flex: 1 1 auto;
  min-width: 172px;
}

.nav-menu > summary {
  list-style: none;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-menu-trigger {
  width: 100%;
  gap: 8px;
  cursor: pointer;
}

.nav-menu-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.78;
  transform: translateY(1px);
  transition: transform 0.18s ease;
}

.nav-menu[open] > .nav-menu-trigger::after {
  transform: translateY(1px) rotate(180deg);
}

.nav-menu.is-active > .nav-menu-trigger {
  background: linear-gradient(180deg, #84bc2f, #71aa22);
}

.nav-menu[open] > .nav-menu-trigger,
.nav-menu:hover > .nav-menu-trigger {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu.is-active[open] > .nav-menu-trigger,
.nav-menu.is-active:hover > .nav-menu-trigger {
  background: linear-gradient(180deg, #84bc2f, #71aa22);
}

.nav-menu[open] {
  z-index: 90;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  display: grid;
  gap: 6px;
  min-width: 268px;
  padding: 10px;
  border: 1px solid rgba(255, 242, 210, 0.32);
  border-radius: 0 0 18px 18px;
  background: #4a2b12;
  box-shadow: 0 20px 34px rgba(62, 38, 15, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.nav-submenu-align-right {
  right: 0;
  left: auto;
}

.nav-menu[open] > .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.nav-submenu-link {
  display: block;
  padding: 0.72rem 0.84rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff6e2;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-submenu-link:hover,
.nav-submenu-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.nav-submenu-link.is-active {
  background: linear-gradient(180deg, #f2c462, #d89b31);
  color: #2b1707;
}

.nav-chicken {
  position: absolute;
  right: 2px;
  bottom: calc(100% - 18px);
  width: 92px;
  pointer-events: none;
  user-select: none;
  z-index: 7;
  filter: drop-shadow(0 14px 16px rgba(73, 49, 21, 0.2));
}

.section-main {
  display: grid;
  gap: 30px;
  padding-top: 28px;
}

.welcome-section {
  position: relative;
  z-index: 4;
  margin-bottom: -14px;
}

.home-search-shell {
  position: relative;
  z-index: 3;
}

.welcome-banner-card {
  position: relative;
  display: block;
  filter: drop-shadow(0 20px 26px rgba(101, 69, 28, 0.18));
}

.welcome-banner-card::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -18px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(112, 77, 32, 0.16), rgba(112, 77, 32, 0) 72%);
  z-index: -1;
  pointer-events: none;
}

.welcome-banner-card img {
  width: 100%;
  height: auto;
}

.home-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px 28px;
  align-items: center;
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(250, 239, 213, 0.95)),
    linear-gradient(90deg, rgba(116, 171, 40, 0.08), rgba(255, 255, 255, 0) 52%);
}

.home-search-copy h2 {
  margin: 0 0 10px;
  color: #111;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-search-copy p:not(.panel-kicker) {
  margin: 0;
  max-width: 58ch;
  color: #5d4a33;
  line-height: 1.65;
}

.home-search-form {
  justify-self: stretch;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-search-form input {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 18px rgba(91, 63, 27, 0.08);
}

.home-search-form button {
  min-height: 58px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-shadow: 0 10px 16px rgba(79, 131, 29, 0.18);
}

.home-search-shortcuts {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-search-shortcuts-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-search-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(105, 65, 29, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown-deep);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.home-search-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 14px rgba(91, 63, 27, 0.08);
}

[id] {
  scroll-margin-top: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

.dashboard-sidebar {
  position: sticky;
  top: 20px;
}

.dashboard-main {
  display: grid;
  gap: 28px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.side-panel,
.home-panel {
  position: relative;
  border: 1px solid rgba(131, 96, 50, 0.17);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(249, 238, 212, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0) 60%);
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.08),
    0 2px 5px rgba(91, 63, 27, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(214, 181, 128, 0.18);
}

.side-panel {
  overflow: hidden;
  padding: 14px 0 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%),
    rgb(241 230 200);
  box-shadow:
    0 10px 18px rgba(76, 47, 21, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(156, 126, 80, 0.18);
}

.side-panel-title {
  margin: 0;
  padding: 0 18px 12px;
  color: var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.side-nav-link + .side-nav-link {
  border-top: 1px solid rgba(131, 96, 50, 0.1);
}

.side-nav-link:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.18);
}

.side-nav-link.is-current {
  background: linear-gradient(180deg, #86bf31, #74ab28);
  box-shadow:
    inset 0 1px 0 rgba(212, 241, 166, 0.42),
    inset 0 -1px 0 rgba(82, 127, 25, 0.28);
  color: #fff9e7;
}

.side-nav-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--brown);
  line-height: 1;
}

.side-nav-link.is-current .side-nav-icon {
  color: #fff9e7;
}

.side-nav-icon::before,
.side-nav-icon::after {
  content: "";
  position: absolute;
}

.icon-home::before {
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 6px;
  background: currentColor;
}

.icon-home::after {
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 42%, 100% 48%, 84% 48%, 84% 100%, 16% 100%, 16% 48%, 0 48%, 0 42%);
}

.icon-basics::before,
.icon-basics::after {
  left: 4px;
  right: 4px;
  border-radius: 2px;
  background: currentColor;
}

.icon-basics::before {
  top: 4px;
  height: 3px;
}

.icon-basics::after {
  top: 9px;
  height: 5px;
}

.icon-crops::before {
  left: 7px;
  bottom: 3px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.icon-crops::after {
  left: 4px;
  top: 3px;
  width: 10px;
  height: 9px;
  background: currentColor;
  clip-path: polygon(0 56%, 20% 18%, 54% 0, 68% 22%, 100% 18%, 82% 56%, 58% 100%, 20% 88%);
}

.icon-animals::before {
  left: 3px;
  top: 6px;
  width: 12px;
  height: 7px;
  background: currentColor;
  border-radius: 6px 7px 5px 5px;
}

.icon-animals::after {
  left: 5px;
  top: 2px;
  width: 8px;
  height: 7px;
  background: currentColor;
  clip-path: polygon(0 100%, 16% 18%, 38% 0, 52% 26%, 76% 0, 100% 16%, 100% 100%);
}

.icon-cooking::before {
  left: 3px;
  right: 3px;
  bottom: 4px;
  height: 7px;
  background: currentColor;
  border-radius: 0 0 6px 6px;
}

.icon-cooking::after {
  left: 6px;
  top: 3px;
  width: 6px;
  height: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.icon-festivals::before {
  left: 7px;
  top: 2px;
  width: 4px;
  height: 14px;
  background: currentColor;
}

.icon-festivals::after {
  left: 3px;
  top: 3px;
  width: 12px;
  height: 9px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 18%, 80% 64%, 0 50%);
}

.icon-master::before,
.icon-master::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.icon-master::before {
  left: 3px;
  top: 1px;
  width: 12px;
  height: 12px;
  clip-path: polygon(50% 0, 61% 33%, 96% 35%, 68% 56%, 78% 92%, 50% 70%, 22% 92%, 32% 56%, 4% 35%, 39% 33%);
}

.icon-master::after {
  left: 6px;
  bottom: 1px;
  width: 6px;
  height: 8px;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 50% 72%, 18% 100%);
}

.icon-maps::before {
  left: 2px;
  top: 3px;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-maps::after {
  left: 7px;
  top: 6px;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 4px 0 -1px currentColor;
}

.icon-tips::before {
  left: 5px;
  top: 3px;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.icon-tips::after {
  left: 7px;
  bottom: 2px;
  width: 4px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.icon-weather::before {
  left: 3px;
  top: 7px;
  width: 12px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: -4px -3px 0 0 currentColor, 4px -3px 0 0 currentColor;
}

.icon-weather::after {
  left: 8px;
  bottom: 2px;
  width: 3px;
  height: 7px;
  background: currentColor;
  clip-path: polygon(50% 100%, 0 35%, 100% 35%);
}

.icon-building::before {
  left: 3px;
  right: 3px;
  bottom: 2px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
}

.icon-building::after {
  left: 2px;
  top: 2px;
  width: 14px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%);
}

.icon-tools {
  position: relative;
}

.icon-tools::before,
.icon-tools::after {
  content: "";
  position: absolute;
}

.icon-tools::before {
  left: 3px;
  top: 8px;
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-38deg);
}

.icon-tools::after {
  right: 2px;
  top: 3px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 2px;
  transform: rotate(45deg);
}

.icon-shops::before,
.icon-shops::after {
  content: "";
  position: absolute;
}

.icon-shops::before {
  left: 2px;
  right: 2px;
  top: 4px;
  height: 6px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}

.icon-shops::after {
  left: 3px;
  right: 3px;
  bottom: 2px;
  height: 8px;
  border-radius: 0 0 3px 3px;
  background: currentColor;
}

.home-panel {
  padding: 18px 18px 20px;
  background: #fff;
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.08),
    0 2px 5px rgba(91, 63, 27, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(214, 181, 128, 0.12);
}

.home-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-panel-header h2 {
  margin: 0;
  color: #111;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 800;
  line-height: 0.94;
  text-transform: uppercase;
}

.crop-panel-intro {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.panel-kicker {
  margin: 0 0 6px;
  color: #4f831d;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crop-panel-copy {
  margin: 0;
  max-width: 50ch;
  color: #5d4a33;
  line-height: 1.6;
}

.crop-panel-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.panel-cta,
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.panel-cta {
  background: linear-gradient(180deg, #8bc53f, #74ab28);
  color: #fff9e7;
  box-shadow: 0 10px 18px rgba(91, 131, 32, 0.18);
}

.panel-link {
  background: rgba(255, 255, 255, 0.92);
  color: #6b4320;
  box-shadow: inset 0 0 0 1px rgba(131, 96, 50, 0.12);
}

.panel-cta:hover,
.panel-link:hover {
  transform: translateY(-1px);
}

.panel-corner-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 252, 242, 0.96), rgba(239, 214, 166, 0.86));
  box-shadow:
    0 4px 8px rgba(91, 63, 27, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 0 0 1px rgba(131, 96, 50, 0.14);
}

.sprout-icon {
  position: relative;
}

.sprout-icon::before,
.sprout-icon::after {
  content: "";
  position: absolute;
  border-radius: 100% 0;
  background: linear-gradient(180deg, #8bc53f, #5f9822);
}

.sprout-icon::before {
  top: 7px;
  left: 8px;
  width: 12px;
  height: 14px;
  transform: rotate(-38deg);
}

.sprout-icon::after {
  top: 7px;
  right: 8px;
  width: 12px;
  height: 14px;
  transform: scaleX(-1) rotate(-38deg);
}

.sprout-icon {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(122, 90, 46, 0) 56%, #8e5f33 56%, #8e5f33 62%, rgba(0, 0, 0, 0) 62%);
}

.wool-icon {
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 40%, #fff8ea 0 16%, transparent 17%),
    radial-gradient(circle at 54% 34%, #fff8ea 0 18%, transparent 19%),
    radial-gradient(circle at 68% 54%, #fff8ea 0 18%, transparent 19%),
    radial-gradient(circle at 44% 62%, #fff8ea 0 20%, transparent 21%),
    radial-gradient(circle at 62% 68%, #fff8ea 0 14%, transparent 15%),
    rgba(219, 198, 160, 0.5);
  box-shadow: inset 0 0 0 1px rgba(131, 96, 50, 0.1);
}

.hammer-icon {
  position: relative;
}

.hammer-icon::before,
.hammer-icon::after {
  content: "";
  position: absolute;
}

.hammer-icon::before {
  top: 8px;
  left: 16px;
  width: 6px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9b270, #b58035);
  transform: rotate(34deg);
}

.hammer-icon::after {
  top: 8px;
  left: 7px;
  width: 16px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7a4a24, #573013);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: rotate(-18deg);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.season-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.season-card {
  padding: 10px 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(131, 96, 50, 0.08);
  background: #fff;
  text-align: center;
  box-shadow:
    0 5px 10px rgba(91, 63, 27, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.season-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 36px;
  margin: 0 auto 4px;
}

.season-icon::before,
.season-icon::after {
  content: "";
  position: absolute;
}

.season-icon-spring::before,
.season-icon-spring::after {
  width: 16px;
  height: 18px;
  top: 4px;
  background: linear-gradient(180deg, #8bc53f, #5d9921);
  border-radius: 100% 0;
}

.season-icon-spring::before {
  left: 5px;
  transform: rotate(-38deg);
}

.season-icon-spring::after {
  right: 5px;
  transform: scaleX(-1) rotate(-38deg);
}

.season-icon-spring {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 66%, #82542a 66%, #82542a 74%, rgba(0, 0, 0, 0) 74%);
}

.season-icon-summer::before {
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd95d 0 54%, #f4b529 55% 100%);
  box-shadow: 0 0 0 3px rgba(248, 194, 48, 0.25);
}

.season-icon-summer::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 47%, #f6b22a 47% 53%, transparent 53%),
    linear-gradient(transparent 47%, #f6b22a 47% 53%, transparent 53%),
    linear-gradient(45deg, transparent 46%, #f6b22a 46% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #f6b22a 46% 54%, transparent 54%);
  opacity: 0.9;
}

.season-icon-fall::before {
  left: 10px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: linear-gradient(180deg, #d27924, #9e4f18);
  clip-path: polygon(50% 0, 66% 18%, 88% 6%, 82% 30%, 100% 40%, 82% 52%, 92% 76%, 64% 70%, 54% 100%, 38% 76%, 12% 82%, 20% 56%, 0 44%, 18% 32%, 12% 10%, 34% 20%);
}

.season-icon-fall::after {
  left: 20px;
  top: 18px;
  width: 3px;
  height: 14px;
  background: #8d5629;
  transform: rotate(18deg);
}

.season-icon-winter::before {
  left: 13px;
  top: 3px;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(90deg, transparent 42%, #72a7d7 42% 58%, transparent 58%),
    linear-gradient(transparent 42%, #72a7d7 42% 58%, transparent 58%),
    linear-gradient(45deg, transparent 46%, #72a7d7 46% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #72a7d7 46% 54%, transparent 54%);
  border-radius: 50%;
}

.season-icon-winter::after {
  left: 17px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(114, 167, 215, 0.18);
}

.season-card h3 {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.season-card-callout {
  margin: 8px 0 4px;
  color: #1f170f;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.season-card-note {
  margin: 0;
  color: #5d4a33;
  font-size: 0.84rem;
  line-height: 1.45;
}

.data-table-wrap {
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 5px 10px rgba(91, 63, 27, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.mini-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.15;
}

.mini-data-table thead th {
  padding: 0.45rem 0.35rem;
  color: #fff8de;
  font-weight: 800;
}

.mini-data-table thead th:first-child {
  background: transparent;
}

.mini-data-table thead th:nth-child(2) {
  background: #86bf31;
}

.mini-data-table thead th:nth-child(3) {
  background: #d8ba3e;
}

.mini-data-table thead th:nth-child(4) {
  background: #e1b63f;
}

.mini-data-table thead th:nth-child(5) {
  background: #cb7a28;
}

.mini-data-table thead th:nth-child(n + 2) {
  border-radius: 8px 8px 0 0;
}

.mini-data-table tbody th,
.mini-data-table tbody td {
  padding: 0.42rem 0.35rem;
  border-top: 1px solid rgba(131, 96, 50, 0.08);
  text-align: center;
  font-weight: 800;
}

.mini-data-table tbody th {
  color: #2d2318;
  text-align: left;
}

.mini-data-table tbody td {
  color: #3a2d20;
}

.crop-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 8px;
  margin-top: 16px;
}

.crop-chip {
  padding: 6px 2px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(91, 63, 27, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  text-align: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.crop-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.4);
}

.crop-chip span {
  display: block;
  margin-bottom: 3px;
  font-size: 1.95rem;
  line-height: 1;
  filter: drop-shadow(0 3px 4px rgba(91, 63, 27, 0.12));
}

.crop-chip strong {
  display: block;
  color: #2b2118;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.05;
}

.crop-chip-note {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 12px 10px;
}

.crop-chip-note span {
  margin: 0;
  color: #5d4a33;
  font-size: 0.8rem;
  line-height: 1.35;
  filter: none;
}

.livestock-stack {
  display: grid;
  gap: 18px;
}

.livestock-panel-intro {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.livestock-panel-copy,
.reserve-panel-copy {
  margin: 0;
  max-width: 52ch;
  color: #5d4a33;
  line-height: 1.6;
}

.livestock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.animal-card {
  padding: 12px 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(131, 96, 50, 0.08);
  background: #fff;
  box-shadow:
    0 6px 12px rgba(91, 63, 27, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
  text-align: center;
}

.animal-art-image {
  width: 82px;
  height: 82px;
  margin: 0 auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 12px rgba(91, 63, 27, 0.14));
}

.animal-card h3 {
  margin: 6px 0 8px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.animal-stats {
  margin: 0;
  text-align: left;
}

.animal-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(131, 96, 50, 0.1);
}

.animal-stats dt,
.animal-stats dd {
  margin: 0;
  font-weight: 800;
}

.animal-stats dt {
  color: #2d2318;
}

.animal-stats dd {
  color: #403125;
}

.animal-stat dd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: right;
}

.stat-icon {
  font-size: 1rem;
  line-height: 1;
}

.reserve-panel {
  display: grid;
  gap: 16px;
}

.reserve-season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.reserve-season-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(131, 96, 50, 0.08);
  background: #fff;
  box-shadow:
    0 5px 10px rgba(91, 63, 27, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.reserve-season-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
}

.reserve-season-card span {
  color: #5d4a33;
  font-size: 0.9rem;
  line-height: 1.45;
}

.reserve-season-spring {
  background: linear-gradient(180deg, rgba(235, 247, 220, 0.9), #fff);
}

.reserve-season-summer {
  background: linear-gradient(180deg, rgba(255, 244, 204, 0.92), #fff);
}

.reserve-season-fall {
  background: linear-gradient(180deg, rgba(255, 231, 210, 0.92), #fff);
}

.reserve-season-winter {
  background: linear-gradient(180deg, rgba(228, 241, 255, 0.92), #fff);
}

.reserve-panel-link {
  justify-self: start;
}

.timeline-panel {
  padding-bottom: 22px;
}

.gallery-panel {
  grid-column: 1 / -1;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(248, 236, 209, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 60%);
}

.gallery-icon {
  color: #8b6d41;
  font-size: 1.35rem;
}

.gallery-panel-intro {
  margin-bottom: 18px;
}

.gallery-panel-intro .crop-panel-copy {
  max-width: 72ch;
}

.gallery-block + .gallery-block {
  margin-top: 18px;
}

.gallery-subtitle {
  margin: 0 0 12px;
  color: #221811;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.gallery-tile {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.06),
    inset 0 0 0 1px rgba(131, 96, 50, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-tile:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 24px rgba(91, 63, 27, 0.08),
    inset 0 0 0 1px rgba(131, 96, 50, 0.12);
}

.gallery-tile:focus-visible {
  outline: 3px solid rgba(124, 196, 44, 0.55);
  outline-offset: 3px;
}

.gallery-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  background: #f3eee1;
  box-shadow: 0 10px 18px rgba(64, 42, 17, 0.12);
}

.gallery-tile img.is-pixel-art {
  object-fit: contain;
  image-rendering: pixelated;
}

.gallery-shot {
  margin: 0;
  display: grid;
  gap: 10px;
}

.gallery-shot figcaption {
  margin: 0;
  padding: 0 6px;
  color: #5d4a33;
  font-size: 0.9rem;
  line-height: 1.55;
}

.calendar-icon {
  color: #b3642f;
  font-size: 1.4rem;
}

.cloud-icon {
  position: relative;
  background: linear-gradient(180deg, #edf5ff, #d8ebfb);
}

.cloud-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: #7ca5c9;
  box-shadow: -5px -4px 0 0 #7ca5c9, 5px -4px 0 0 #7ca5c9;
}

.cloud-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 5px;
  width: 4px;
  height: 8px;
  background: #5a8cc0;
  clip-path: polygon(50% 100%, 0 35%, 100% 35%);
}

.weather-preview-panel {
  overflow: hidden;
}

.weather-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 20px;
  align-items: start;
}

.weather-preview-copy-block {
  display: grid;
  gap: 16px;
}

.weather-preview-copy {
  margin: 0;
  max-width: 58ch;
  color: #5d4a33;
  line-height: 1.65;
}

.weather-preview-media {
  display: grid;
  gap: 14px;
}

.weather-preview-shot {
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.weather-preview-shot img {
  width: 100%;
  border-radius: 14px;
  image-rendering: pixelated;
  box-shadow: 0 8px 16px rgba(64, 42, 17, 0.12);
}

.weather-preview-shot figcaption {
  margin-top: 10px;
  color: #5d4a33;
  font-size: 0.9rem;
  line-height: 1.5;
}

.weather-preview-season-grid {
  margin: 0;
}

.building-preview-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(248, 236, 209, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 60%);
}

.building-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.building-preview-copy {
  margin: 0;
  max-width: 56ch;
  color: #5d4a33;
  line-height: 1.68;
}

.building-preview-media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
}

.building-preview-shot {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.06),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.building-preview-shot img {
  width: 100%;
  image-rendering: pixelated;
  background: #f3eee1;
}

.building-preview-shot figcaption {
  padding: 12px 14px 14px;
  color: #5d4a33;
  font-size: 0.9rem;
  line-height: 1.55;
}

.building-preview-stat-grid {
  display: grid;
  gap: 12px;
}

.building-preview-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(245, 232, 198, 0.88));
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.05),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.building-preview-stat span {
  display: block;
  margin-bottom: 5px;
  color: #6c5337;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.building-preview-stat strong {
  display: block;
  color: #221811;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.45rem;
  line-height: 1.06;
  text-transform: uppercase;
}

.building-preview-stat p {
  margin: 7px 0 0;
  color: #5d4a33;
  line-height: 1.55;
}

.map-preview-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 18px;
  align-items: center;
}

.map-preview-copy {
  margin: 0;
  color: #5d4a33;
  line-height: 1.68;
}

.map-preview-media {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.map-preview-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #d6c29a;
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.06),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.map-preview-shot img {
  width: 100%;
  image-rendering: pixelated;
}

.map-preview-shot figcaption {
  padding: 14px 16px 18px;
  color: #5d4a33;
  line-height: 1.58;
}

.map-preview-spotlight-grid {
  display: grid;
  gap: 12px;
}

.map-preview-spotlight {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.map-preview-spotlight span {
  display: block;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-preview-spotlight strong {
  display: block;
  margin-top: 0.35rem;
  color: #22150d;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.32rem;
  line-height: 1.08;
}

.map-preview-spotlight p {
  margin: 0.45rem 0 0;
  color: #5d4a33;
  line-height: 1.55;
}

.map-panel-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f6d778, #e8b44d);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.map-panel-icon::before,
.map-panel-icon::after {
  content: "";
  position: absolute;
}

.map-panel-icon::before {
  left: 6px;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(60, 40, 15, 0.78);
  border-radius: 5px;
}

.map-panel-icon::after {
  left: 11px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(60, 40, 15, 0.78);
}

.shop-icon {
  position: relative;
}

.shop-icon::before,
.shop-icon::after {
  content: "";
  position: absolute;
}

.shop-icon::before {
  left: 5px;
  right: 5px;
  top: 7px;
  height: 8px;
  background: linear-gradient(180deg, #d07c2a, #a4551b);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}

.shop-icon::after {
  left: 7px;
  right: 7px;
  bottom: 5px;
  height: 10px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #7a4d24, #5b3416);
}

.tool-icon {
  position: relative;
  background: linear-gradient(180deg, #edf6ff, #d9eaf8);
}

.tool-icon::before,
.tool-icon::after {
  content: "";
  position: absolute;
}

.tool-icon::before {
  left: 7px;
  top: 15px;
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6489b1, #45688a);
  transform: rotate(-35deg);
}

.tool-icon::after {
  right: 5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid #45688a;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 3px;
  transform: rotate(45deg);
}

.trophy-icon::before,
.trophy-icon::after {
  content: "";
  position: absolute;
}

.trophy-icon::before {
  left: 10px;
  top: 7px;
  width: 18px;
  height: 15px;
  border: 3px solid #cf8d22;
  border-bottom-width: 5px;
  border-radius: 0 0 11px 11px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background: linear-gradient(180deg, #ffd76d, #f0a92d);
  box-sizing: border-box;
}

.trophy-icon::after {
  left: 15px;
  bottom: 7px;
  width: 8px;
  height: 13px;
  background: linear-gradient(180deg, #f0a92d, #cf8d22);
  box-shadow:
    -10px -9px 0 -5px #f0a92d,
    10px -9px 0 -5px #f0a92d,
    -7px 11px 0 -2px #8f5a16,
    7px 11px 0 -2px #8f5a16;
  border-radius: 2px;
}

.ranch-master-preview-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(239, 246, 219, 0.92)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 58%);
}

.ranch-master-preview-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: start;
}

.ranch-master-preview-copy-block {
  display: grid;
  gap: 16px;
}

.ranch-master-preview-copy {
  margin: 0;
  color: #5d4a33;
  line-height: 1.68;
}

.ranch-master-preview-media {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ranch-master-preview-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.06),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.ranch-master-preview-shot img {
  width: 100%;
  padding: 10px;
  background: linear-gradient(180deg, #fff9eb, #efe2be);
}

.ranch-master-preview-shot figcaption {
  padding: 12px 14px 14px;
  color: #5d4a33;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ranch-master-preview-stat-grid {
  display: grid;
  gap: 12px;
}

.ranch-master-preview-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(232, 244, 214, 0.88));
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.05),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.ranch-master-preview-stat span {
  display: block;
  margin-bottom: 5px;
  color: #6c5337;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ranch-master-preview-stat strong {
  display: block;
  color: #221811;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.45rem;
  line-height: 1.06;
  text-transform: uppercase;
}

.ranch-master-preview-stat p {
  margin: 7px 0 0;
  color: #5d4a33;
  line-height: 1.55;
}

.shop-preview-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(246, 235, 206, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 58%);
}

.shop-preview-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: start;
}

.shop-preview-copy-block {
  display: grid;
  gap: 16px;
}

.shop-preview-copy {
  margin: 0;
  color: #5d4a33;
  line-height: 1.68;
}

.shop-preview-media {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.shop-preview-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.06),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.shop-preview-shot img {
  width: 100%;
  background: #f5efe2;
  image-rendering: pixelated;
}

.shop-preview-shot figcaption {
  padding: 12px 14px 14px;
  color: #5d4a33;
  font-size: 0.9rem;
  line-height: 1.55;
}

.shop-preview-stat-grid {
  display: grid;
  gap: 12px;
}

.shop-preview-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(245, 233, 202, 0.9));
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.05),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.shop-preview-stat span {
  display: block;
  margin-bottom: 5px;
  color: #6c5337;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-preview-stat strong {
  display: block;
  color: #221811;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.45rem;
  line-height: 1.06;
  text-transform: uppercase;
}

.shop-preview-stat p {
  margin: 7px 0 0;
  color: #5d4a33;
  line-height: 1.55;
}

.tool-preview-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(229, 239, 252, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 58%);
}

.tool-preview-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: start;
}

.tool-preview-copy-block {
  display: grid;
  gap: 16px;
}

.tool-preview-copy {
  margin: 0;
  color: #5d4a33;
  line-height: 1.68;
}

.tool-preview-media {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.tool-preview-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.06),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.tool-preview-shot img {
  width: 100%;
  background: #f5efe2;
}

.tool-preview-shot figcaption {
  padding: 12px 14px 14px;
  color: #5d4a33;
  font-size: 0.9rem;
  line-height: 1.55;
}

.tool-preview-stat-grid {
  display: grid;
  gap: 12px;
}

.tool-preview-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(225, 237, 250, 0.94));
  box-shadow:
    0 8px 14px rgba(91, 63, 27, 0.05),
    inset 0 0 0 1px rgba(131, 96, 50, 0.08);
}

.tool-preview-stat span {
  display: block;
  margin-bottom: 5px;
  color: #546a8c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-preview-stat strong {
  display: block;
  color: #221811;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.45rem;
  line-height: 1.06;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tool-preview-stat p {
  margin: 7px 0 0;
  color: #5d4a33;
  line-height: 1.55;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: center;
}

.timeline-card {
  position: relative;
  min-height: 86px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(131, 96, 50, 0.08);
  background: #fff;
  box-shadow:
    0 5px 10px rgba(91, 63, 27, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.timeline-card::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -10px;
  width: 18px;
  height: 12px;
  background: inherit;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.timeline-card h3,
.timeline-card p,
.timeline-card span {
  margin: 0;
}

.timeline-card h3 {
  color: #23201c;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
}

.timeline-card p {
  margin-top: 4px;
  color: #2b2118;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.15;
}

.timeline-card span {
  display: block;
  margin-top: 4px;
  color: #544638;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.18;
}


.timeline-track {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  height: 20px;
  margin: -4px 0 -2px;
}

.timeline-track::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #74ab28 0 50%, #efac26 50% 100%);
  box-shadow: 0 2px 5px rgba(91, 63, 27, 0.08);
}

.timeline-dot {
  grid-row: 1;
  place-self: center;
  width: 18px;
  height: 18px;
  border: 4px solid #fff8e7;
  border-radius: 50%;
  box-shadow:
    0 3px 6px rgba(91, 63, 27, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.timeline-dot-spring {
  background: #8ebf3a;
}

.timeline-dot-fall {
  background: #e68d18;
}

.timeline-dot-summer {
  background: #efac26;
}

.timeline-dot-winter {
  background: #4b8bd6;
}

.list-hero,
.section-search,
.post-card,
.article-shell {
  background:
    linear-gradient(180deg, rgba(255, 251, 241, 0.96), rgba(250, 240, 220, 0.96)),
    url("../images/theme/paper-square.png") center / 520px repeat;
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.eyebrow,
.hero-kicker,
.mini-label,
.footer-heading {
  margin: 0 0 10px;
  color: var(--brown);
  font-family: "Baloo 2", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list-hero h1,
.article-header h1,
.post-card h2,
.post-card h3 {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  line-height: 0.96;
}

.list-hero p,
.post-card-body p,
.article-body p,
.article-body li,
.search-summary,
.empty-state,
.page-label,
.footer-link-grid a {
  color: var(--muted);
  line-height: 1.72;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.list-hero {
  padding: 28px 30px;
}

.list-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  margin-bottom: 12px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.post-card {
  overflow: hidden;
}

.post-card a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.post-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background:
    linear-gradient(180deg, rgba(233, 245, 215, 0.85), rgba(251, 240, 216, 0.95)),
    url("../images/theme/meadow-square.png") center / 320px repeat;
}

.post-card-body {
  padding: 22px;
}

.post-card h2,
.post-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.section-search {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.section-search input {
  flex: 1 1 320px;
  min-height: 58px;
  border: 1px solid rgba(105, 65, 29, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  padding: 0 22px;
}

.section-search button,
.page-link {
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff8df;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.section-search button:hover,
.page-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-shell {
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.article-header,
.article-body {
  padding-left: clamp(22px, 4vw, 54px);
  padding-right: clamp(22px, 4vw, 54px);
}

.article-header {
  padding-top: 30px;
  padding-bottom: 8px;
}

.article-header h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
}

.article-body {
  padding-bottom: 42px;
  font-size: 1.06rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: "Baloo 2", sans-serif;
  line-height: 1.05;
}

.article-body a {
  color: var(--green-deep);
}

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
}

.article-body img {
  margin: 1.4rem auto;
  border-radius: 20px;
  box-shadow: 0 14px 24px rgba(91, 63, 27, 0.1);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.74);
}

.article-body th,
.article-body td {
  border: 1px solid rgba(105, 65, 29, 0.12);
  padding: 0.7rem 0.85rem;
  text-align: left;
}

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--green);
  background: rgba(116, 171, 40, 0.08);
  border-radius: 0 16px 16px 0;
}

.is-pixel-art {
  image-rendering: pixelated;
}

.player-house-detail-page {
  display: grid;
  gap: 28px;
}

.player-house-detail-page img {
  margin: 0;
  box-shadow: none;
}

.player-house-kicker {
  margin: 0 0 8px;
  color: #4f831d;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-house-lede {
  margin: 0;
  max-width: 78ch;
  color: #4b3928;
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  font-weight: 700;
  line-height: 1.65;
}

.player-house-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.player-house-wide-shot,
.player-house-tier-card,
.player-house-check-card,
.player-house-summary-card,
.player-house-route-steps article {
  border: 1px solid rgba(131, 96, 50, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(246, 235, 208, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 58%);
  box-shadow:
    0 10px 18px rgba(91, 63, 27, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.player-house-wide-shot {
  overflow: hidden;
  margin: 0;
}

.player-house-wide-shot img {
  width: 100%;
  background: #2c2118;
}

.player-house-wide-shot figcaption,
.player-house-check-card figcaption {
  color: #5d4a33;
  line-height: 1.55;
}

.player-house-wide-shot figcaption {
  padding: 13px 16px 16px;
}

.player-house-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.player-house-summary-card {
  padding: 18px;
}

.player-house-summary-card span,
.player-house-cost-table th,
.player-house-cost-table td:first-child {
  overflow-wrap: anywhere;
}

.player-house-summary-card span {
  display: block;
  margin-bottom: 6px;
  color: #5b6e37;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-house-summary-card strong {
  display: block;
  color: #1f1811;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.78rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.player-house-summary-card p {
  margin: 8px 0 0;
}

.player-house-section {
  display: grid;
  gap: 18px;
}

.player-house-section-head {
  max-width: 82ch;
}

.player-house-section-head h2,
.player-house-route-copy h2 {
  margin: 0 0 10px;
  color: #1f1811;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.player-house-section-head p:not(.player-house-kicker),
.player-house-route-copy p:not(.player-house-kicker) {
  margin: 0;
  color: #5d4a33;
  line-height: 1.68;
}

.player-house-tier-grid {
  display: grid;
  gap: 18px;
}

.player-house-tier-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
}

.player-house-tier-card img {
  width: 100%;
  border-radius: 14px;
  background: #2c2118;
}

.player-house-tier-card h3 {
  margin: 0 0 8px;
  color: #26190f;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.player-house-tier-card p:last-child {
  margin: 0;
}

.player-house-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.player-house-check-card {
  overflow: hidden;
  margin: 0;
}

.player-house-check-card img {
  width: 100%;
  background: #2c2118;
}

.player-house-check-card figcaption {
  display: grid;
  gap: 5px;
  padding: 13px 14px 15px;
}

.player-house-check-card strong {
  color: #24170e;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.22rem;
  line-height: 1;
  text-transform: uppercase;
}

.player-house-check-card span {
  color: #5d4a33;
}

.player-house-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: 0 10px 18px rgba(91, 63, 27, 0.07);
}

.player-house-cost-table {
  margin: 0;
  min-width: 780px;
  border-collapse: collapse;
  background: rgba(255, 252, 245, 0.98);
}

.player-house-cost-table th {
  color: #21170f;
}

.player-house-cost-table thead th {
  background: #dcebc6;
  color: #2f4f15;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-house-route-section {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(233, 245, 255, 0.96), rgba(255, 248, 232, 0.96) 52%, rgba(228, 241, 207, 0.96));
  box-shadow: inset 0 0 0 1px rgba(79, 131, 29, 0.14);
}

.player-house-route-steps {
  display: grid;
  gap: 12px;
}

.player-house-route-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 14px;
}

.player-house-route-steps span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #74ab28;
  color: #fff8df;
  font-weight: 900;
}

.player-house-route-steps strong {
  color: #221811;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.18rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.player-house-route-steps p {
  margin: 0;
}

.player-house-preview-panel {
  background:
    linear-gradient(180deg, rgba(248, 253, 255, 0.98), rgba(247, 238, 216, 0.94)),
    linear-gradient(135deg, rgba(116, 171, 40, 0.12), rgba(79, 140, 168, 0.1));
}

.player-house-preview-shot img {
  background: #2c2118;
}

.player-house-preview-media {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

@media (max-width: 980px) {
  .player-house-summary-grid,
  .player-house-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-house-tier-card,
  .player-house-route-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .player-house-summary-grid,
  .player-house-check-grid {
    grid-template-columns: 1fr;
  }

  .player-house-route-section {
    padding: 16px;
  }

  .player-house-route-steps article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .player-house-route-steps span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
}

.section-footer {
  position: relative;
  padding-top: 32px;
}

.footer-scene {
  position: relative;
  min-height: 188px;
  padding: 24px clamp(220px, 23vw, 312px) 6px clamp(166px, 13vw, 228px);
  overflow: visible;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1px solid rgba(131, 96, 50, 0.16);
  border-bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 64% 46%, rgba(255, 247, 226, 0.72), rgba(255, 247, 226, 0) 32%),
    linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(248, 229, 189, 0.95));
  box-shadow: 0 24px 34px rgba(91, 63, 27, 0.14);
}

.footer-scene::before {
  content: "";
  position: absolute;
  inset: 0 24px 16px 24px;
  border-radius: var(--radius-xl) var(--radius-xl) 34px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at center, rgba(255, 250, 238, 0.38), rgba(255, 250, 238, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.footer-scene::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: -8px;
  height: 20px;
  background: radial-gradient(circle at center, rgba(113, 77, 31, 0.18), rgba(113, 77, 31, 0) 72%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 344px) minmax(210px, 278px);
  gap: clamp(30px, 4vw, 72px);
  align-items: end;
  position: relative;
  z-index: 2;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 2px 28px;
}

.section-footer .footer-heading {
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: 0.03em;
}

.footer-link-grid a {
  text-decoration: none;
  color: rgba(27, 21, 15, 0.9);
  line-height: 1.55;
}

.footer-link-grid a:hover {
  color: var(--brown-deep);
}

.footer-community-icons {
  width: min(182px, 100%);
  margin-top: 0;
}

.footer-column-site {
  align-self: end;
}

.footer-column-community {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 16px;
}

.footer-hosts {
  position: absolute;
  right: clamp(84px, 6vw, 116px);
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1vw, 12px);
  z-index: 3;
}

.footer-host {
  display: flex;
  align-items: flex-start;
  height: clamp(176px, 15vw, 208px);
  overflow: hidden;
}

.footer-host img {
  height: clamp(208px, 18vw, 246px);
  width: auto;
}

.footer-host:first-child img {
  height: clamp(196px, 16.5vw, 232px);
}

.footer-host:last-child img {
  height: clamp(214px, 18.5vw, 252px);
}

.footer-console {
  position: absolute;
  bottom: -10px;
  opacity: 0.98;
  pointer-events: none;
  z-index: 2;
}

.footer-console-left-back {
  left: -16px;
  width: clamp(92px, 6.8vw, 122px);
  transform: rotate(-11deg);
}

.footer-console-left-front {
  left: 46px;
  bottom: -2px;
  width: clamp(54px, 4vw, 72px);
  transform: rotate(-6deg);
}

.footer-console-right {
  right: -8px;
  width: clamp(96px, 7.2vw, 130px);
}

.footer-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px 24px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: linear-gradient(90deg, #603817, #7b4b21 48%, #5a3214);
  color: #fff5df;
  font-size: 0.96rem;
}

.footer-bar p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 1280px) {
  .dashboard-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .masthead-stage {
    min-height: clamp(224px, 25vw, 300px);
  }

  .dashboard-sidebar {
    position: static;
    max-width: 280px;
  }

  .side-panel {
    max-width: 280px;
  }

  .footer-scene {
    min-height: 0;
    padding: 22px clamp(192px, 23vw, 248px) 8px clamp(130px, 12vw, 176px);
  }

  .footer-hosts {
    right: clamp(56px, 5vw, 78px);
    bottom: 0;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 20px, 1740px);
    padding-top: 10px;
  }

  .section-topline {
    font-size: 0.84rem;
    padding: 14px 16px;
  }

  .masthead-stage {
    min-height: 212px;
    margin-bottom: -20px;
  }

  .masthead-badge {
    top: -16px;
    left: 18px;
    width: 82px;
  }

  .nav-chicken {
    right: -4px;
    bottom: calc(100% - 16px);
    width: 70px;
  }

  .nav-link {
    flex: 0 0 auto;
    min-width: 106px;
    padding: 15px 18px;
    font-size: 0.98rem;
  }

  .nav-menu {
    flex: 1 1 156px;
    min-width: 156px;
  }

  .nav-submenu {
    min-width: 240px;
  }

  .dashboard-row,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .weather-preview-layout {
    grid-template-columns: 1fr;
  }

  .building-preview-layout,
  .tool-preview-layout,
  .shop-preview-layout,
  .ranch-master-preview-layout,
  .map-preview-layout,
  .map-preview-media,
  .building-preview-media,
  .tool-preview-media,
  .shop-preview-media,
  .ranch-master-preview-media {
    grid-template-columns: 1fr;
  }

  .crop-panel-intro {
    flex-direction: column;
  }

  .livestock-panel-intro {
    flex-direction: column;
  }

  .home-search-panel {
    grid-template-columns: 1fr;
  }

  .crop-chip-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .livestock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-track::before {
    background: linear-gradient(90deg, #74ab28 0 50%, #efac26 50% 100%);
  }

  .welcome-section {
    margin-bottom: -8px;
  }

  .dashboard-grid {
    padding-top: 6px;
  }

  .weather-preview-media {
    max-width: 460px;
  }

  .map-preview-media {
    max-width: 560px;
  }

  .building-preview-media {
    max-width: 560px;
  }

  .tool-preview-media {
    max-width: 560px;
  }

  .shop-preview-media {
    max-width: 560px;
  }

  .ranch-master-preview-media {
    max-width: 560px;
  }

  .footer-column-community {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-scene {
    padding: 20px 24px 8px;
  }

  .footer-hosts {
    right: 26px;
  }

  .footer-host {
    height: 150px;
  }

  .footer-host img {
    height: 182px;
  }

  .footer-host:first-child img {
    height: 172px;
  }

  .footer-host:last-child img {
    height: 188px;
  }
}

@media (max-width: 640px) {
  body {
    background-size:
      100% 100%,
      100% 380px,
      100% 380px,
      100% 440px,
      100% 440px,
      100% 100%,
      100% 100%;
  }

  .section-main {
    gap: 22px;
    padding-top: 22px;
  }

  .masthead-stage {
    min-height: 180px;
    margin-bottom: -14px;
  }

  .masthead-badge {
    left: 12px;
    top: -10px;
    width: 70px;
  }

  .nav-chicken {
    right: -8px;
    bottom: calc(100% - 14px);
    width: 58px;
  }

  .nav-link {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 50px;
    padding: 13px 12px;
  }

  .nav-menu {
    flex: 1 1 100%;
    min-width: 0;
  }

  .nav-submenu,
  .nav-submenu-align-right {
    position: static;
    right: auto;
    left: auto;
    min-width: 100%;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 242, 210, 0.12);
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-menu:not([open]) > .nav-submenu {
    display: none;
  }

  .nav-menu[open] > .nav-submenu {
    display: grid;
  }

  .welcome-section {
    margin-bottom: 0;
  }

  .welcome-banner-card::after {
    bottom: -12px;
    height: 28px;
  }

  .list-hero,
  .post-card-body,
  .article-header,
  .article-body,
  .home-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .side-panel {
    max-width: none;
  }

  .side-panel-title {
    padding-left: 16px;
    padding-right: 16px;
  }

  .side-nav-link {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.92rem;
  }

  .home-panel-header h2 {
    font-size: 1.6rem;
  }

  .home-search-panel {
    padding: 18px;
  }

  .season-grid,
  .livestock-grid,
  .timeline-grid,
  .reserve-season-grid {
    grid-template-columns: 1fr;
  }

  .weather-preview-shot {
    padding: 10px;
  }

  .map-preview-shot {
    max-width: 460px;
  }

  .building-preview-shot {
    max-width: 460px;
  }

  .tool-preview-shot {
    max-width: 460px;
  }

  .shop-preview-shot {
    max-width: 460px;
  }

  .ranch-master-preview-shot {
    max-width: 460px;
  }

  .crop-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-track {
    display: none;
  }

  .timeline-card::after {
    display: none;
  }

  .list-hero {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .section-search {
    padding: 14px;
  }

  .home-search-form {
    padding: 0;
  }

  .home-search-shortcuts {
    gap: 8px;
  }

  .home-search-chip {
    min-height: 36px;
    font-size: 0.92rem;
  }

  .footer-link-grid {
    grid-template-columns: 1fr;
  }

  .footer-hosts {
    right: 16px;
    bottom: -2px;
    margin-top: 0;
    gap: 10px;
  }

  .footer-host {
    height: 118px;
  }

  .footer-host img {
    height: 160px;
  }

  .footer-host:first-child img {
    height: 152px;
  }

  .footer-host:last-child img {
    height: 164px;
  }

  .footer-scene {
    padding: 18px 108px 6px 88px;
  }

  .footer-console-left-back {
    left: -8px;
    width: 74px;
  }

  .footer-console-left-front {
    left: 44px;
    bottom: 0;
    width: 44px;
  }

  .footer-console-right {
    right: -12px;
    width: 76px;
  }

  .footer-bar {
    padding: 14px 18px;
    font-size: 0.9rem;
  }
}

/* Swap the CSS-drawn UI marks for actual HM GBC pixel assets. */
:root {
  --hm-ui-icon-home: url("../images/ui-icons/dog_house_sprite.png");
  --hm-ui-icon-start: url("../images/ui-icons/pet_choice_dog_64.png");
  --hm-ui-icon-weather-clear: url("../images/ui-icons/weather-clear.png");
  --hm-ui-icon-weather-rain: url("../images/ui-icons/weather-rain.png");
  --hm-ui-icon-house: url("../images/ui-icons/cat_house_sprite.png");
  --hm-ui-icon-tool-shed: url("../images/ui-icons/tool_shed_front.png");
  --hm-ui-icon-map: url("../images/ui-icons/outside_house.png");
  --hm-ui-icon-cow: url("../images/ui-icons/animalshop_buy_cow_64.png");
  --hm-ui-icon-chicken: url("../images/ui-icons/animalshop_buy_chicken_64.png");
  --hm-ui-icon-ranch: url("../images/ui-icons/cow_barn_sprite.png");
  --hm-ui-icon-shop: url("../images/ui-icons/animalshop_m_potion_64.png");
  --hm-ui-icon-date: url("../images/ui-icons/date_status_cgb_4x.png");
  --hm-ui-icon-turnip: url("../images/ui-icons/turnip-final.png");
  --hm-ui-icon-tomato: url("../images/ui-icons/tomato-final.png");
  --hm-ui-icon-eggplant: url("../images/ui-icons/eggplant-final.png");
  --hm-ui-icon-broccoli: url("../images/ui-icons/broccoli-final.png");
  --hm-ui-icon-cat: url("../images/ui-icons/cat_choice_icon.png");
  --hm-home-icon-home-page: url("../images/home-icons/01-home.png");
  --hm-home-icon-start-guide: url("../images/home-icons/02-start-guide.png");
  --hm-home-icon-stamina-tool: url("../images/ui-icons/date_status_cgb_4x.png");
  --hm-home-icon-food-guide: url("../images/tools/food/icons/rice_ball.png");
  --hm-home-icon-timer-converter: url("../images/home-icons/03-timer-converter.png");
  --hm-home-icon-house-upgrades: url("../images/home-icons/04-house-upgrades.png");
  --hm-home-icon-tool-upgrades: url("../images/home-icons/05-tool-upgrades.png");
  --hm-home-icon-crop-planner: url("../images/home-icons/06-crop-planner.png");
  --hm-home-icon-farm-map-planner: url("../images/home-icons/07-farm-map-planner.png");
  --hm-home-icon-animal-planner: url("../images/home-icons/08-animal-planner.png");
  --hm-home-icon-ranch-master-tracker: url("../images/home-icons/09-ranch-master-tracker.png");
  --hm-home-icon-town-shop-guide: url("../images/home-icons/10-town-shop-guide.png");
  --hm-home-icon-weather-planner: url("../images/home-icons/11-weather-planner.png");
  --hm-home-icon-crop-database: url("../images/home-icons/12-crop-database.png");
  --hm-home-icon-livestock-snapshot: url("../images/home-icons/13-livestock-snapshot.png");
  --hm-home-icon-event-schedule: url("../images/home-icons/14-event-schedule.png");
  --hm-home-icon-guides-library: url("../images/home-icons/15-guides-library.png");
  --hm-home-icon-gallery: url("../images/home-icons/16-gallery.png");
  --hm-home-icon-spring: url("../images/home-icons/17-spring.png");
  --hm-home-icon-summer: url("../images/home-icons/18-summer.png");
  --hm-home-icon-fall: url("../images/home-icons/19-fall.png");
  --hm-home-icon-winter: url("../images/home-icons/20-winter.png");
  --hm-power-berry-icon:
    radial-gradient(circle at 42% 34%, #ff9c8c 0 10%, transparent 11%),
    radial-gradient(circle at 50% 55%, #d93d32 0 44%, #941f1d 45% 58%, transparent 60%),
    radial-gradient(ellipse at 62% 22%, #74ab28 0 24%, transparent 25%);
}

.side-nav-icon,
.panel-corner-icon,
.season-icon {
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: pixelated;
}

.side-nav-icon::before,
.side-nav-icon::after,
.panel-corner-icon::before,
.panel-corner-icon::after,
.season-icon::before,
.season-icon::after {
  content: none !important;
  display: none !important;
}

.side-nav-icon {
  --hm-nav-icon: none;
  --hm-nav-size: contain;
  --hm-nav-position: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background-image: var(--hm-nav-icon);
  background-size: var(--hm-nav-size);
  background-position: var(--hm-nav-position);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.18));
}

.side-nav-link.is-current .side-nav-icon {
  transform: scale(1.04);
}

.icon-home {
  --hm-nav-icon: var(--hm-ui-icon-home);
}

.icon-basics {
  --hm-nav-icon: var(--hm-ui-icon-start);
}

.icon-weather {
  --hm-nav-icon: var(--hm-ui-icon-weather-clear);
}

.icon-building {
  --hm-nav-icon: var(--hm-ui-icon-house);
}

.icon-tools {
  --hm-nav-icon: var(--hm-ui-icon-tool-shed);
  --hm-nav-size: cover;
  --hm-nav-position: center 48%;
  border-radius: 4px;
}

.icon-tips {
  --hm-nav-icon: var(--hm-ui-icon-turnip);
}

.icon-maps {
  --hm-nav-icon: var(--hm-ui-icon-map);
  --hm-nav-size: cover;
  --hm-nav-position: center 54%;
  border-radius: 4px;
}

.icon-animals {
  --hm-nav-icon: var(--hm-ui-icon-cow);
}

.icon-master {
  --hm-nav-icon: var(--hm-ui-icon-ranch);
}

.icon-shops {
  --hm-nav-icon: var(--hm-ui-icon-shop);
}

.icon-crops {
  --hm-nav-icon: var(--hm-ui-icon-tomato);
}

.icon-festivals {
  --hm-nav-icon: var(--hm-ui-icon-date);
  --hm-nav-size: cover;
  --hm-nav-position: center 64%;
  border-radius: 4px;
}

.icon-cooking {
  --hm-nav-icon: var(--hm-ui-icon-cat);
}

.icon-home-page {
  --hm-nav-icon: var(--hm-home-icon-home-page);
}

.icon-start-guide {
  --hm-nav-icon: var(--hm-home-icon-start-guide);
}

.icon-stamina-tool {
  --hm-nav-icon: var(--hm-home-icon-stamina-tool);
  --hm-nav-size: cover;
  --hm-nav-position: center 58%;
  border-radius: 4px;
}

.icon-food-guide {
  --hm-nav-icon: var(--hm-home-icon-food-guide);
}

.icon-power-berry-locations {
  --hm-nav-icon: var(--hm-power-berry-icon);
}

.icon-timer-converter {
  --hm-nav-icon: var(--hm-home-icon-timer-converter);
}

.icon-house-upgrades {
  --hm-nav-icon: var(--hm-home-icon-house-upgrades);
}

.icon-tool-upgrades {
  --hm-nav-icon: var(--hm-home-icon-tool-upgrades);
}

.icon-crop-planner {
  --hm-nav-icon: var(--hm-home-icon-crop-planner);
}

.icon-farm-map-planner {
  --hm-nav-icon: var(--hm-home-icon-farm-map-planner);
}

.icon-animal-planner {
  --hm-nav-icon: var(--hm-home-icon-animal-planner);
}

.icon-ranch-master-tracker {
  --hm-nav-icon: var(--hm-home-icon-ranch-master-tracker);
}

.icon-town-shop-guide {
  --hm-nav-icon: var(--hm-home-icon-town-shop-guide);
}

.icon-weather-planner {
  --hm-nav-icon: var(--hm-home-icon-weather-planner);
}

.icon-crop-database {
  --hm-nav-icon: var(--hm-home-icon-crop-database);
}

.icon-livestock-snapshot {
  --hm-nav-icon: var(--hm-home-icon-livestock-snapshot);
}

.icon-event-schedule {
  --hm-nav-icon: var(--hm-home-icon-event-schedule);
}

.icon-guides-library {
  --hm-nav-icon: var(--hm-home-icon-guides-library);
}

.icon-gallery {
  --hm-nav-icon: var(--hm-home-icon-gallery);
}

.panel-corner-icon {
  --hm-panel-icon: none;
  --hm-panel-size: 74%;
  --hm-panel-position: center;
  width: 40px;
  height: 40px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background-image:
    var(--hm-panel-icon),
    linear-gradient(180deg, rgba(255, 252, 242, 0.96), rgba(239, 214, 166, 0.86));
  background-repeat: no-repeat, no-repeat;
  background-position: var(--hm-panel-position), center;
  background-size: var(--hm-panel-size), 100% 100%;
}

.sprout-icon {
  --hm-panel-icon: var(--hm-ui-icon-turnip);
}

.wool-icon {
  --hm-panel-icon: var(--hm-ui-icon-chicken);
}

.food-icon {
  --hm-panel-icon: var(--hm-home-icon-food-guide);
  --hm-panel-size: 72%;
}

.berry-icon {
  --hm-panel-icon: var(--hm-power-berry-icon);
}

.calendar-icon {
  --hm-panel-icon: var(--hm-ui-icon-date);
  --hm-panel-size: cover;
  --hm-panel-position: center 64%;
  border-radius: 12px;
}

.trophy-icon {
  --hm-panel-icon: var(--hm-ui-icon-ranch);
}

.shop-icon {
  --hm-panel-icon: var(--hm-ui-icon-shop);
}

.tool-icon {
  --hm-panel-icon: var(--hm-ui-icon-tool-shed);
  --hm-panel-size: cover;
  --hm-panel-position: center 48%;
  border-radius: 12px;
}

.cloud-icon {
  --hm-panel-icon: var(--hm-ui-icon-weather-rain);
}

.map-panel-icon {
  --hm-panel-icon: var(--hm-ui-icon-map);
  --hm-panel-size: cover;
  --hm-panel-position: center 54%;
  border-radius: 12px;
}

.hammer-icon {
  --hm-panel-icon: var(--hm-ui-icon-house);
}

.season-icon {
  --hm-season-icon: none;
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  background-image: var(--hm-season-icon);
  background-size: contain;
}

.season-icon-spring {
  --hm-season-icon: var(--hm-home-icon-spring);
}

.season-icon-summer {
  --hm-season-icon: var(--hm-home-icon-summer);
}

.season-icon-fall {
  --hm-season-icon: var(--hm-home-icon-fall);
}

.season-icon-winter {
  --hm-season-icon: var(--hm-home-icon-winter);
}
