.fields-page { padding: 24px 40px 0; max-width: 1240px; }
.fields-top { margin-bottom: 16px; }
.fields-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin: 0; }
.fields-bar .back { font-size: 17px; color: var(--blue); }
.fields-me { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fields-top h1 { margin: 6px 0 0; display: flex; align-items: center; gap: 14px;
  font-family: var(--blackletter); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: 1; }
.fields-top h1 img { height: .9em; mix-blend-mode: multiply; }
.fields-top .tagline { margin-top: 4px; }

.fields-page main { display: grid; grid-template-columns: 2.1fr 1fr; gap: 20px; align-items: start; }

/* ---------- the plot ---------- */
.plot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 14px; padding: 22px 22px 14px;
  background: repeating-linear-gradient(0deg, #6b4a2b 0 30px, #5a3d22 30px 35px), #6b4a2b;
  border: 3px solid var(--border); box-shadow: inset 0 0 50px rgba(0,0,0,.5), 0 6px 16px rgba(0,0,0,.3); }
.mound { position: relative; aspect-ratio: 5 / 4; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; }
.mound::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 10%; height: 62%;
  border-radius: 50% 50% 46% 46% / 78% 78% 22% 22%;
  background: radial-gradient(ellipse at 40% 25%, #a17a4c, #71502c 60%, #4f3519);
  box-shadow: 0 6px 8px rgba(0,0,0,.45); transition: transform .15s, height .2s; }
/* the sprout */
.mound::after { content: ""; position: absolute; left: 50%; bottom: 66%; width: 30%; height: 26%; transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 28% 62%, #5c9a44 0 42%, transparent 45%),
    radial-gradient(ellipse at 72% 62%, #47823a 0 42%, transparent 45%); }
.mound:hover:not(:disabled)::before { transform: translateY(-3px); }
.mound:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mound:disabled { cursor: default; }
.mound.dug::before { height: 26%; bottom: 14%; border-radius: 50%; box-shadow: none;
  background: radial-gradient(ellipse at center, #1e1309 0 55%, #4a3018 78%); }
.mound.dug::after { display: none; }
.find { position: absolute; left: 0; right: 0; bottom: 44%; text-align: center; pointer-events: none;
  font-family: var(--gothic); font-size: clamp(15px, 2vw, 23px); line-height: 1.05; color: #f1e6c8;
  text-shadow: 0 1px 3px #000, 0 0 8px rgba(0,0,0,.6); opacity: 0; transform: translateY(12px);
  transition: opacity .2s, transform .3s; }
.mound.dug .find { opacity: 1; transform: none; }
.mound.good .find { color: #ffd76a; }
.plot.resting .mound:not(.dug) { opacity: .5; }

.plot-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; flex-wrap: wrap; margin-top: 10px; }
.plot-foot p { margin: 0; }
.back-ache { font-family: var(--gothic); font-size: 20px; white-space: nowrap; }
.pip { display: inline-block; width: 13px; height: 13px; margin-left: 4px; border-radius: 50%;
  border: 2px solid var(--border); background: #5c9a44; vertical-align: -1px; }
.pip.spent { background: transparent; }
.field-msg { font-style: italic; font-size: 19px; min-height: 1.4em; }

/* ---------- side panel ---------- */
.fields-side h2 { margin: 16px 0 6px; font-family: var(--gothic); color: var(--red); font-size: 30px; }
.fields-side h2:first-child { margin-top: 0; }
.fields-side p { margin: 0 0 8px; }
.purse-big { font-size: 34px; }
.market-btn { width: 100%; font-size: 20px; }
.market-btn[disabled] { cursor: not-allowed; }
.ledger { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--border); font-size: 16px; min-height: 2em; }
.ledger li { padding: 6px 2px; border-bottom: 1px dotted var(--border); }
.ledger li.new { animation: ledger-flash 1.5s ease-out; }
@keyframes ledger-flash { from { background: rgba(217,176,74,.45); } to { background: transparent; } }
/* the lord's tithe */
.ledger li.tithe { color: var(--red); font-style: italic; }
.purse-big.taken { animation: purse-taken 1.2s ease-out; }
@keyframes purse-taken { 0%, 30% { background: rgba(143,42,28,.35); } 100% { background: transparent; } }
.fine-print { font-style: italic; font-size: 15px; opacity: .75; }
.spend { display: block; text-align: center; text-decoration: none; font-size: 20px; margin-bottom: 8px; }

.fields-page .foot { margin: 22px -38px 0; }

@media (max-width: 900px) {
  .fields-page main { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .fields-page { padding: 16px 16px 0; }
  .fields-page .foot { margin: 22px -16px 0; }
  .plot { grid-template-columns: repeat(3, 1fr); padding: 14px 12px 8px; gap: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mound::before, .find { transition: none; }
  .ledger li.new, .purse-big.taken { animation: none; }
}
