:root {
  --west-ink: #21150d;
  --west-paper: #f2d7ad;
  --west-paper-dark: #d79a61;
  --west-frame: #6b351e;
  --west-gold: #f1b43b;
  --west-button: #df8e50;
  --west-button-light: #ffd19a;
  --west-stage-scale: 1;
}

[hidden] { display: none !important; }

.bank-return-art {
  position: absolute;
  right: 3px;
  bottom: 2px;
  width: 75px;
  height: 35px;
  image-rendering: pixelated;
}

.target-hint-help { color: #bfe9e5; font: 14px/1.5 Arial, sans-serif; min-height: 1.5em; }
.show-target-hints .scene-content :is(button, input, select, textarea, canvas[role="button"]):not(:disabled):not([aria-disabled="true"]) {
  outline: 1px dashed #fff0b0;
  outline-offset: -1px;
  box-shadow: inset 0 0 0 2px #46341d;
}
.show-target-hints .scene-content :is(button, input, select, textarea, canvas[role="button"]):focus-visible,
.scene-content canvas[role="button"]:focus-visible,
.system-volume-hit:focus-visible {
  outline: 2px solid #1352ff;
  outline-offset: 2px;
}

.go-west-standalone { margin: 0; background: #21150d; color: #f2d7ad; font: 16px/1.5 Georgia, serif; }
.go-west-standalone .wrapper { max-width: 1340px; margin: 0 auto; padding: 16px; }
.go-west-standalone header h1 { margin: 0 0 16px; }
.game-info { max-width: 75ch; }
.game-info h2 { margin-bottom: 8px; font-size: 1.2rem; }
.game-info ul { padding-left: 24px; }
.game-info li + li { margin-top: 4px; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #f1b43b; outline-offset: 2px; }

.game-shell {
  max-width: 1340px;
}

.preservation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: .75rem 0;
  padding: .65rem .8rem;
  border: 1px solid rgba(129, 226, 220, .35);
  background: rgba(6, 20, 24, .86);
  color: #bfe9e5;
  font-size: .9rem;
}

.preservation-bar div {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.preservation-bar button,
.west-cabinet button,
.west-cabinet input,
.west-cabinet select {
  cursor: inherit;
}

.preservation-bar button {
  border: 1px solid #55a9a3;
  padding: .38rem .58rem;
  background: #102e31;
  color: #e4ffff;
  font: inherit;
}

.west-cabinet {
  margin: 0 auto 1.25rem;
  padding: clamp(.45rem, 1.4vw, .85rem);
  border: 2px solid #7c4e2e;
  background: #140d08;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .6), inset 0 0 0 3px #2e1a10;
}

.game-viewport {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  container-type: inline-size;
}

.game-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 640px;
  height: 480px;
  overflow: hidden;
  transform: scale(var(--west-stage-scale));
  transform-origin: top left;
  background: #000;
  color: var(--west-ink);
  font-family: "Times New Roman", Times, serif;
  image-rendering: pixelated;
  user-select: none;
}

.game-viewport:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; }
.game-stage[data-scaling="smooth"],
.game-stage[data-scaling="smooth"] img { image-rendering: auto; }

.scene-background,
.scene-video,
.scene-layers,
.scene-content {
  position: absolute;
  inset: 0;
  width: 640px;
  height: 480px;
}

.scene-background {
  object-fit: fill;
  image-rendering: pixelated;
}

.scene-video {
  z-index: 2;
  border: 0;
  background: #000;
  object-fit: fill;
}

.scene-layers { z-index: 3; pointer-events: none; }
.scene-content { z-index: 4; }
.director-transition-frame {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 640px;
  height: 480px;
  overflow: hidden;
  pointer-events: none;
}
.director-transition-frame > * { position: absolute; inset: 0; width: 640px; height: 480px; }

.scene-content button:not(:disabled),
.cursor-hand {
  cursor: url('/images/cursors/hover.cur') 11 0, url('/images/cursors/hover.png') 11 0, pointer;
}
.cursor-back-hand {
  cursor: url('/images/cursors/hover.cur') 11 0, url('/images/cursors/hover.png') 11 0, pointer;
}
.legacy-claim-form canvas,
.bank-score-signature,
.cursor-pen {
  cursor: url('/images/cursors/hover.cur') 11 0, url('/images/cursors/hover.png') 11 0, pointer;
}

.scene-layer {
  position: absolute;
  image-rendering: pixelated;
}

.legacy-button {
  position: absolute;
  min-width: 76px;
  min-height: 26px;
  border: 3px outset #f2b377;
  background: var(--west-button);
  color: #15100b;
  font: bold 16px/1.05 "Times New Roman", Times, serif;
  text-align: center;
  text-shadow: 1px 1px rgba(255, 236, 190, .7);
}

.legacy-button:active { border-style: inset; }
.legacy-button:focus-visible { outline: 3px solid #1352ff; outline-offset: 1px; }
.legacy-button.small { min-width: 28px; min-height: 22px; font-size: 13px; }
.legacy-button.icon { min-width: 0; border: 0; padding: 0; background: transparent; }
.legacy-button.icon img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }

/* Score-placed sprites.
   Every rule below is geometry the original score supplies at runtime, so the
   stylesheet only carries typography and the transparent hit target. */
.score-field {
  position: absolute;
  overflow: hidden;
  color: #000;
  font: 14px/1.16 "Times New Roman", Times, serif;
  white-space: pre-wrap;
}

.score-button {
  min-width: 0;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}
.score-button img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.score-button[hidden] { display: none !important; }
.legacy-button.score-hit {
  z-index: 6;
  min-width: 0;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  text-shadow: none;
}
.legacy-button.score-hit:focus-visible { outline: 3px solid rgba(255, 229, 130, .9); outline-offset: -3px; }

.score-input {
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
  color: #000;
  font: 14px/1.16 "Times New Roman", Times, serif;
}
.score-input:focus-visible { outline: 2px solid #1352ff; outline-offset: 1px; }

/* Font family, size, weight and line height come from each member's own
   recovered STXT run, so nothing here may set them. */
.score-field.letter-body { overflow: visible; }
.score-field.event-list { overflow: visible; }
.score-field.event-price,
.score-field.event-total { text-align: right; }
.score-field.event-name-plate { text-align: center; }

.screen-card {
  position: absolute;
  border: 4px ridge #9f5b31;
  padding: 14px 18px;
  background: #efc28f;
  box-shadow: 4px 5px 0 rgba(45, 23, 10, .65);
  font-size: 17px;
}

.screen-card h2,
.screen-card h3 { margin: 0 0 8px; text-align: center; }
.screen-card p { margin: 7px 0; }
.screen-card label { display: block; margin: 7px 0; font-weight: bold; }
.screen-card input,
.screen-card select {
  box-sizing: border-box;
  width: 100%;
  margin-top: 3px;
  border: 2px inset #e8b877;
  padding: 4px 6px;
  background: #fff9df;
  color: #17100b;
  font: 16px "Times New Roman", Times, serif;
}

.screen-card .row { display: flex; gap: 9px; align-items: center; }
.screen-card .row > * { flex: 1; }
.screen-card .actions { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.screen-card .actions .legacy-button { position: static; }

.screen-card.legacy-login {
  left: 160px;
  top: 140px;
  box-sizing: border-box;
  width: 320px;
  height: 200px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
}

.legacy-login > img,
.legacy-login > label,
.legacy-login > .actions { position: absolute; margin: 0; }
.legacy-login .login-title { inset: 0 auto auto 0; width: 320px; height: 43px; }
.legacy-login .login-prompt { left: 61px; top: 50px; width: 197px; height: 23px; }
.legacy-login > label span,
.legacy-login .legacy-login-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.legacy-login > label input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 3px 6px;
  background: #fff url('../assets/original-v1/cast/login/136.png') center/100% 100% no-repeat;
  color: #050505;
  font: 16px/20px Arial, sans-serif;
  outline: 0;
}
.legacy-login > label input:focus { box-shadow: 0 0 0 2px #ffd900; }
.legacy-login:not(.new-user) .login-user-id { left: 109px; top: 79px; width: 101px; height: 26px; }
.legacy-login .actions { display: block; inset: auto; margin: 0; }
.legacy-login:not(.new-user) .actions { left: 70px; top: 129px; width: 187px; height: 34px; }
.legacy-login-button {
  position: absolute;
  border: 0;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
}
.legacy-login-button:focus-visible { outline: 2px solid #ffd900; outline-offset: 2px; }
.login-ok { left: 0; top: 4px; width: 38px; height: 25px; background-image: url('../assets/original-v1/cast/login/129_btn-ok-up.png'); }
.login-ok:active { background-image: url('../assets/original-v1/cast/login/130_btn-ok-dwn.png'); }
.login-new { left: 49px; top: 6px; width: 93px; height: 20px; background-image: url('../assets/original-v1/cast/login/123_btn-newuser-up.png'); }
.login-new:active { background-image: url('../assets/original-v1/cast/login/124_btn-newuser-dwn.png'); }
.login-exit { left: 164px; top: 0; width: 23px; height: 33px; background-image: url('../assets/original-v1/cast/login/133_btn-exit-up.png'); }
.login-exit:active { background-image: url('../assets/original-v1/cast/login/134_btn-exit-dwn.png'); }
.legacy-login.new-user .login-id-label { left: 0; top: 42px; width: 320px; height: 27px; }
.legacy-login.new-user .login-user-id { left: 83px; top: 62px; width: 154px; height: 26px; }
.legacy-login.new-user .login-first-label { left: 8px; top: 91px; width: 115px; height: 25px; }
.legacy-login.new-user .login-first { left: 132px; top: 90px; width: 173px; height: 27px; }
.legacy-login.new-user .login-last-label { left: 8px; top: 120px; width: 115px; height: 24px; }
.legacy-login.new-user .login-last { left: 132px; top: 119px; width: 173px; height: 27px; }
.legacy-login.new-user .actions { left: 113px; top: 156px; width: 94px; height: 33px; }
.legacy-login.new-user .login-cancel { left: 57px; top: 4px; width: 25px; height: 25px; background-image: url('../assets/original-v1/cast/login/131_btn-cancel-up.png'); }
.legacy-login.new-user .login-cancel:active { background-image: url('../assets/original-v1/cast/login/132_btn-cancel-dwn.png'); }
.legacy-login .login-wrong-message { left: 0; top: 43px; width: 320px; height: 105px; }
.legacy-login .login-confirm-message { left: 0; top: 44px; width: 320px; height: 24px; }
.legacy-login .login-exit-message { left: 0; top: 44px; width: 320px; height: 51px; }
.legacy-login .login-summary-message { left: 0; top: 105px; width: 320px; height: 42px; }
.legacy-login .login-name-display,
.legacy-login .login-id-display {
  position: absolute;
  box-sizing: border-box;
  height: 26px;
  border: 2px solid #151cff;
  border-radius: 3px;
  padding: 3px 6px;
  overflow: hidden;
  background: #fff;
  color: #050505;
  font: 16px/18px Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
}
.legacy-login .login-name-display { left: 83px; top: 79px; width: 154px; }
.legacy-login.login-summary .login-id-label { left: 0; top: 43px; width: 320px; height: 27px; }
.legacy-login .login-id-display { left: 83px; top: 68px; width: 154px; }
.legacy-login .login-try-again { left: 18px; top: 158px; width: 93px; height: 20px; background-image: url('../assets/original-v1/cast/login/121_btn-tryagain-up.png'); }
.legacy-login .login-try-again:active { background-image: url('../assets/original-v1/cast/login/122_btn-tryagain-dwn.png'); }
.legacy-login.login-wrong .login-new { left: 116px; top: 158px; }
.legacy-login.login-wrong .login-exit { left: 267px; top: 151px; }
.legacy-login .login-yes { left: 111px; top: 130px; width: 48px; height: 19px; background-image: url('../assets/original-v1/cast/login/125_btn-yes-up.png'); }
.legacy-login .login-yes:active { background-image: url('../assets/original-v1/cast/login/126_btn-yes-dwn.png'); }
.legacy-login .login-no { left: 178px; top: 130px; width: 31px; height: 20px; background-image: url('../assets/original-v1/cast/login/127_btn-no-up.png'); }
.legacy-login .login-no:active { background-image: url('../assets/original-v1/cast/login/128_btn-no-dwn.png'); }
.legacy-login.login-exit .login-yes,
.legacy-login.login-exit .login-no { top: 116px; }
.legacy-login.login-summary > .login-ok { left: 128px; top: 158px; }
.legacy-login.login-summary > .login-exit { left: 269px; top: 151px; }

.login-score-input {
  position: absolute;
  z-index: 65;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0 3px;
  overflow: hidden;
  background: transparent;
  color: #050505;
  outline: 0;
}
.login-score-input:focus { box-shadow: inset 0 0 0 1px #ffd900; }
.login-score-field { z-index: 65; white-space: nowrap; text-align: center; }

.intro-goal[aria-pressed="true"] { filter: drop-shadow(0 0 5px #ffe31b) brightness(1.12); }
.intro-goal:focus-visible { outline: 3px solid #ffe31b; outline-offset: 2px; }
.intro-goal img { mix-blend-mode: normal; }

.legacy-claim-form {
  position: absolute;
  inset: 0;
  margin: 0;
}
.legacy-claim-form label { position: absolute; margin: 0; }
.legacy-claim-form label > span,
.legacy-claim-form button > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.legacy-claim-form .claim-first { left: 305px; top: 144px; width: 73px; height: 16px; }
.legacy-claim-form .claim-last { left: 398px; top: 144px; width: 94px; height: 16px; }
.legacy-claim-form input {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 1px 3px;
  background: #f4c99a;
  color: #1a120c;
  font: 13px/17px "Times New Roman", Times, serif;
  text-align: center;
  outline: 0;
}
.legacy-claim-form input:focus { box-shadow: inset 0 0 0 2px #25479c; }
.legacy-claim-form .claim-signature { left: 367px; top: 371px; width: 145px; height: 59px; }
.legacy-claim-form canvas { display: block; width: 145px; height: 59px; touch-action: none; }
.legacy-claim-form .claim-clear { left: 515px; top: 383px; width: 28px; height: 22px; background-image: url('../assets/original-v1/cast/intro/54_btn-clear-up.png'); }
.legacy-claim-form .claim-clear:active { background-image: url('../assets/original-v1/cast/intro/55_btn-clear-dwn.png'); }
.legacy-claim-form .claim-ok { left: 515px; top: 412px; width: 28px; height: 22px; background-image: url('../assets/original-v1/cast/intro/110_btn-ok-up.png'); }
.legacy-claim-form .claim-ok:active { background-image: url('../assets/original-v1/cast/intro/111_btn-ok-dwn.png'); }
.intro-claim-name { text-align: center; }

.poster-hit {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  text-shadow: none;
}

.poster-prompt {
  position: absolute;
  left: 172px;
  bottom: 18px;
  width: 296px;
  border: 3px outset #f7bd7d;
  padding: 7px 10px;
  background: rgba(222, 141, 79, .94);
  color: #140c07;
  font: bold 18px "Times New Roman", Times, serif;
  text-align: center;
  animation: westBlink 1.4s steps(2, jump-none) infinite;
}

@keyframes westBlink { 50% { filter: brightness(1.25); } }

/* Keep the original invitation visible; a gentle pulse replaces its rapid
   score-frame flashing without changing the conversation itself. */
.first-town-talk-blink { animation: firstTownTalkBlink 2.4s ease-in-out infinite; }
@keyframes firstTownTalkBlink { 50% { opacity: .65; } }

.town-topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 640px;
  height: 99px;
}

/* The date block and the money readouts are score-placed fields on the
   original bottom bar, so only their alignment lives here. */
.score-field.date-readout { text-align: center; }
.score-field.cash-readout,
.score-field.savings-readout { text-align: left; white-space: nowrap; }
.score-field.crew-hired,
.score-field.crew-neighbours,
.score-field.crew-family,
.score-field.crew-days,
.score-field.crew-cost { text-align: left; }

.town-hotspot {
  position: absolute;
  border: 2px dashed transparent;
  background: rgba(255, 255, 255, 0);
  color: transparent;
  /* .legacy-button's highlight would otherwise draw the accessible label. */
  text-shadow: none;
}
.town-hotspot:focus-visible { border-color: #0d45ef; background: rgba(255,255,255,.22); color: #111; }
.town-building:hover,
.town-building:focus-visible { border-color: rgba(255, 230, 125, .85); background: rgba(255, 234, 145, .14); }
.town-return { border: 0; }
.business-deed { z-index: 30; animation: saleNoticeBlink .34s steps(2, jump-none) 4; }
.business-deed:focus-visible { outline: 4px solid #ffd73b; outline-offset: -4px; }
@keyframes saleNoticeBlink { 50% { visibility: hidden; } }
.album-cover:hover,
.album-cover:focus-visible { border-color: rgba(255, 221, 98, .8); background: rgba(255, 235, 138, .08); }

.album-sheet { position: absolute; inset: 0; }
.album-page-number { position: absolute; left: 304px; top: 374px; width: 32px; color: #d8c99d; font: 12px Georgia, serif; text-align: center; }
.album-sheet .scrapbook-photo {
  position: absolute;
  left: 73px;
  top: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 218px;
  border: 0;
  padding: 8px;
  background: transparent;
  color: #3a281d;
  font: italic 14px Georgia, serif;
}
.album-sheet .scrapbook-photo img { max-width: 200px; max-height: 194px; image-rendering: auto; }
.album-caption { position: absolute; left: 346px; top: 62px; width: 225px; height: 269px; }
.album-caption > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.album-caption textarea { box-sizing: border-box; width: 100%; height: 100%; resize: none; border: 0; padding: 19px 14px; background: transparent; color: #332216; font: 16px/1.35 "Times New Roman", Times, serif; outline: 0; }
.album-caption textarea:focus { box-shadow: inset 0 0 0 2px rgba(107, 72, 39, .45); }
.album-arrow,
.album-close { position: absolute; border: 0; padding: 0; background: transparent; }
.album-arrow-left { left: 20px; top: 341px; width: 38px; height: 45px; }
.album-arrow-right { right: 18px; top: 341px; width: 39px; height: 45px; }
.album-close { left: 296px; top: 395px; width: 50px; height: 51px; }
.album-arrow:focus-visible,
.album-close:focus-visible { outline: 3px solid #f4d549; outline-offset: -3px; }
.album-photo-left,
.album-photo-right { top: 294px; width: 30px; height: 25px; padding: 0; }
.album-photo-left { left: 104px; }
.album-photo-right { left: 227px; }
.album-score-caption {
  position: absolute;
  z-index: 9;
  box-sizing: border-box;
  overflow: hidden;
  resize: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #332216;
}
.album-score-caption:focus-visible { outline: 2px solid #1352ff; outline-offset: 1px; }
.album-overlay-blocker { position: absolute; inset: 0; z-index: 20; }
.album-overlay-blocker ~ .score-field,
.album-overlay-blocker ~ .score-button,
.album-overlay-blocker ~ .score-input { z-index: 21; }
.album-print-input { text-align: center; }

.livestock-menu {
  position: absolute;
  left: 176px;
  top: 374px;
  display: flex;
  gap: 14px;
  width: 288px;
}
.livestock-menu .legacy-button { position: static; flex: 1; height: 31px; }
.livestock-form { position: absolute; left: 114px; top: 93px; width: 411px; height: 236px; }
.livestock-price,
.livestock-count { position: absolute; box-sizing: border-box; width: 66px; color: #18110c; text-align: center; }
.livestock-price { top: 46px; font: 15px/20px "Times New Roman", Times, serif; }
.livestock-count { top: 101px; height: 20px; border: 1px solid #2c1b11; background: #fff9e6; font: 15px/18px "Times New Roman", Times, serif; }
.livestock-column-1 { left: 130px; }
.livestock-column-2 { left: 226px; }
.livestock-column-3 { left: 322px; }
.livestock-total { position: absolute; left: 78px; top: 194px; width: 278px; color: #18110c; font: 15px "Times New Roman", Times, serif; }
.livestock-feedback { position: absolute; left: 7px; top: 237px; width: 397px; margin: 0; color: #80190e; text-align: center; }
.livestock-submit,
.livestock-cancel { top: 266px; width: 82px; }
.livestock-submit { left: 112px; }
.livestock-cancel { left: 217px; }

.news-reader,
.news-empty { position: absolute; inset: 0; background: #3e2a20; }
.news-empty { box-sizing: border-box; padding-top: 150px; color: #f4e3be; text-align: center; }
.news-empty .legacy-button { position: static; }
.newspaper-cover { position: absolute; left: 182px; top: 46px; width: 276px; height: 355px; image-rendering: pixelated; box-shadow: 7px 8px 0 rgba(0, 0, 0, .35); }
.news-year-tabs { position: absolute; left: 466px; top: 72px; display: flex; flex-direction: column; gap: 6px; }
.news-year-tab { width: 75px; border: 2px outset #e1cda9; padding: 4px 7px; background: #eee2c9; color: #21160f; font: bold 13px "Times New Roman", Times, serif; text-align: left; }
.news-year-tab[aria-pressed="true"] { background: #c8a979; }
.newspaper-controls { position: absolute; left: 74px; bottom: 11px; display: flex; z-index: 5; gap: 5px; width: 492px; justify-content: center; }
.newspaper-controls .legacy-button { position: static; min-width: 49px; height: 27px; padding: 2px 6px; }
.news-article { background: transparent; }
.news-article .newspaper-controls { padding: 4px; background: rgba(65, 44, 30, .78); }

.trivia-question {
  position: absolute;
  left: 207px;
  box-sizing: border-box;
  width: 228px;
  min-height: 38px;
  margin: 0;
  color: #32190d;
  font: bold 14px/1.05 "Times New Roman", Times, serif;
  text-align: center;
  white-space: pre-line;
}
.legacy-button.trivia-answer {
  overflow: visible;
  border: 0;
  padding: 0 3px;
  background: transparent;
  color: #32190d;
  box-shadow: none;
  font: bold 13px/1 "Times New Roman", Times, serif;
  text-align: left;
  white-space: normal;
}
.legacy-button.trivia-answer:hover,
.legacy-button.trivia-answer:focus-visible { background: rgba(255, 225, 104, .35); outline: 2px solid #87521e; outline-offset: 0; }
.trivia-result {
  position: absolute;
  left: 198px;
  top: 126px;
  box-sizing: border-box;
  width: 244px;
  min-height: 132px;
  padding: 18px 12px;
  color: #32190d;
  font: bold 15px/1.15 "Times New Roman", Times, serif;
  text-align: center;
  white-space: pre-line;
}
.trivia-result p { margin: 0 0 14px; }
.trivia-result strong { color: #a1120d; font-size: 18px; }
.legacy-button.trivia-ok { min-width: 50px; min-height: 30px; }

.property-ledger {
  position: absolute;
  left: 106px;
  top: 70px;
  width: 427px;
  height: 365px;
  filter: drop-shadow(5px 7px 2px rgba(37, 22, 12, .4));
}
.property-ledger-art { position: absolute; left: 0; top: 0; width: 427px; height: auto; image-rendering: pixelated; }
.property-ledger-values { position: absolute; inset: 0; color: #2f4a3d; font: bold 14px/1 "Times New Roman", Times, serif; }
.property-ledger-values > span,
.property-ledger-values > strong,
.property-ledger-values > i { position: absolute; box-sizing: border-box; min-width: 90px; min-height: 18px; }
.property-ledger-values .property-total { width: 105px; text-align: center; }
.property-goal-name { left: 95px; top: 52px; width: 298px; color: #713d31; font-size: 18px; }
.property-assets { left: 94px; top: 126px; width: 296px; line-height: 1.25; }
.property-goal-status { left: 94px; top: 230px; width: 296px; }
.property-progress { left: 92px; top: 157px; max-width: 202px; height: 18px; border: 1px solid #52715b; background: #758e74; }
.property-score-progress { position: absolute; display: block; max-width: 298px; background: #758e74; }
.legacy-button.property-ledger-hotspot { border: 0; background: transparent; color: transparent; box-shadow: none; }
.legacy-button.property-ledger-hotspot:hover,
.legacy-button.property-ledger-hotspot:focus-visible { outline: 3px solid rgba(255, 239, 152, .9); outline-offset: -3px; }
.legacy-button.property-ledger-done { min-width: 70px; min-height: 29px; }

.house-hotspot:hover,
.house-hotspot:focus-visible {
  border-color: rgba(255, 236, 151, .78);
  background: rgba(255, 241, 172, .12);
}
.house-exit { border-radius: 0 0 100% 0; }

.savings-box-panel {
  position: absolute;
  left: 166px;
  top: 252px;
  box-sizing: border-box;
  width: 310px;
  min-height: 176px;
  border: 3px ridge #9b673d;
  padding: 8px 12px;
  background: rgba(247, 220, 173, .96);
  color: #21170e;
  text-align: center;
}
.savings-box-panel h2 { margin: 0 0 5px; font-size: 21px; }
.savings-box-panel p { margin: 7px 0; }
.savings-box-panel input { width: 92px; font: 16px "Times New Roman", Times, serif; }
.savings-box-panel .savings-feedback { min-height: 18px; color: #8d180d; }
.savings-box-panel .legacy-button { margin: 0 2px; }

.logbook-sheet {
  position: absolute;
  inset: 0;
  width: 640px;
  height: 480px;
  color: #2a1a10;
  font: 11px/1.05 "Times New Roman", Times, serif;
}
.logbook-headings { position: absolute; left: 22px; top: 139px; display: grid; grid-template-columns: 88px 72px 65px 62px 62px 72px 141px; width: 562px; color: #704024; font-weight: bold; text-align: center; }
.logbook-rows { position: absolute; left: 22px; top: 170px; width: 562px; }
.logbook-row { display: grid; grid-template-columns: 88px 72px 65px 62px 62px 72px 141px; height: 62px; align-items: start; }
.logbook-row > span { box-sizing: border-box; max-height: 58px; overflow: hidden; padding: 4px 3px; text-align: center; overflow-wrap: anywhere; }
.logbook-row > span:last-child { text-align: left; }
.logbook-empty { margin: 76px 0 0; text-align: center; }
.logbook-page-count { position: absolute; left: 535px; top: 374px; width: 54px; text-align: center; }
.logbook-page-up,
.logbook-page-down,
.logbook-done { position: absolute; border: 0; padding: 0; background: transparent; }
.logbook-page-up { left: 552px; top: 121px; width: 35px; height: 20px; }
.logbook-page-down { left: 552px; top: 358px; width: 35px; height: 20px; }
.logbook-done { left: 526px; top: 405px; width: 75px; height: 35px; }
.logbook-page-up img,
.logbook-page-down img,
.logbook-done img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.logbook-page-up:disabled,
.logbook-page-down:disabled { visibility: hidden; }
.logbook-page-up:focus-visible,
.logbook-page-down:focus-visible,
.logbook-done:focus-visible { outline: 3px solid #f4d549; outline-offset: 1px; }
.logbook-score-note {
  position: absolute;
  z-index: 12;
  box-sizing: border-box;
  overflow: hidden;
  resize: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #000;
}
.logbook-score-note:focus-visible { outline: 2px solid #1352ff; outline-offset: 1px; }
.house-upgrade-blocker { position: absolute; inset: 0; z-index: 10; }
.house-upgrade-blocker ~ .score-field,
.house-upgrade-blocker ~ .score-button { z-index: 11; }

.homestead-stats {
  position: absolute;
  left: 7px;
  bottom: 7px;
  width: 205px;
  border: 2px ridge #9c5c31;
  padding: 5px 8px;
  background: rgba(240, 195, 139, .93);
  font-size: 14px;
}
.homestead-stats strong { display: inline-block; min-width: 62px; }

.plot-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.plot-grid button.plot-cell { pointer-events: auto; }

.plot-cell {
  position: absolute;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  box-shadow: none;
}
.plot-cell img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.plot-cell .plot-mask { display: none; }
.plot-cell.selected .plot-mask { display: block; }
.plot-cell:focus-visible { outline: 3px solid #f4dc3c; outline-offset: -3px; }
.plot-cell.plot-display { pointer-events: none; }

.field-crop-selected {
  filter: drop-shadow(0 0 3px #f4dc3c);
  outline: 2px solid #f4dc3c;
  outline-offset: 1px;
}

.field-nav-zone {
  position: absolute;
  z-index: 90;
  left: 0;
  top: 421px;
  width: 640px;
  height: 59px;
}
.field-nav-reveal { visibility: visible; }
.field-nav-zone:focus-visible, .house-nav-zone:focus-visible,
.town-nav-zone:focus-visible, .store-nav-zone:focus-visible,
.bank-nav-zone:focus-visible { outline: 3px solid #ffe582; outline-offset: -3px; }
.field-nav-zone:hover .field-nav-reveal,
.field-nav-zone.is-open .field-nav-reveal,
.field-nav-zone:focus-within .field-nav-reveal { visibility: visible; }

.house-nav-zone {
  position: absolute;
  z-index: 90;
  left: 0;
  top: 421px;
  width: 640px;
  height: 59px;
}
.house-nav-reveal { visibility: visible; }
.house-nav-zone:hover .house-nav-reveal,
.house-nav-zone.is-open .house-nav-reveal,
.house-nav-zone:focus-within .house-nav-reveal { visibility: visible; }

.town-nav-zone {
  position: absolute;
  z-index: 90;
  left: 0;
  top: 421px;
  width: 640px;
  height: 59px;
}
.town-nav-reveal { visibility: visible; }
.town-nav-zone:hover .town-nav-reveal,
.town-nav-zone.is-open .town-nav-reveal,
.town-nav-zone:focus-within .town-nav-reveal { visibility: visible; }

.store-nav-zone {
  position: absolute;
  z-index: 90;
  left: 0;
  top: 421px;
  width: 640px;
  height: 59px;
}
.store-nav-reveal { visibility: visible; }
.store-nav-zone:hover .store-nav-reveal,
.store-nav-zone.is-open .store-nav-reveal,
.store-nav-zone:focus-within .store-nav-reveal { visibility: visible; }

.bank-nav-zone {
  position: absolute;
  z-index: 90;
  left: 0;
  top: 421px;
  width: 640px;
  height: 59px;
}
.bank-nav-reveal { visibility: visible; }
.bank-nav-zone:hover .bank-nav-reveal,
.bank-nav-zone.is-open .bank-nav-reveal,
.bank-nav-zone:focus-within .bank-nav-reveal { visibility: visible; }

.field-toolbar {
  position: absolute;
  z-index: 50;
  left: 0;
  bottom: 0;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  gap: 4px;
  width: 640px;
  height: 59px;
  border: 3px ridge #a35d32;
  padding: 6px 8px;
  background: #d68c50;
}
.field-toolbar h2 { margin: 0 3px 0 0; font-size: 17px; white-space: nowrap; }
.field-toolbar p { display: none; }
.field-toolbar button { position: static; flex: 1 1 auto; min-width: 61px; height: 28px; margin: 0; padding: 2px 5px; font-size: 12px; }
.field-toolbar select { width: 96px; margin: 0; font: 12px "Times New Roman", Times, serif; }

.ledger-strip {
  position: absolute;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
  width: 640px;
  height: 55px;
  border-top: 3px ridge #9f5d34;
  padding: 5px 9px;
  background: #d68c50;
  font-size: 14px;
}

.store-panel,
.bank-panel,
.town-panel,
.house-panel,
.album-panel,
.news-panel,
.talk-panel {
  position: absolute;
  inset: 94px 18px 18px;
  overflow: auto;
  border: 4px ridge #9c572f;
  padding: 12px 16px;
  background: rgba(242, 204, 155, .95);
  font-size: 16px;
}

.store-panel h2,
.bank-panel h2,
.town-panel h2,
.house-panel h2,
.album-panel h2,
.news-panel h2,
.talk-panel h2 { margin: 0 0 8px; text-align: center; }

.shop-grid,
.business-grid,
.bank-grid,
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shop-item,
.business-item,
.bank-box,
.achievement-item {
  border: 2px groove #9d603a;
  padding: 8px;
  background: rgba(255, 239, 201, .82);
}
.shop-item h3,
.business-item h3,
.bank-box h3 { margin: 0 0 4px; font-size: 17px; }
.shop-item p,
.business-item p,
.bank-box p { margin: 3px 0; font-size: 14px; }
.shop-item button,
.business-item button,
.bank-box button { position: static; min-height: 23px; margin-top: 4px; font-size: 14px; }
.legacy-button.bank-hotspot {
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  text-shadow: none;
  box-shadow: none;
}
.legacy-button.bank-hotspot:hover,
.legacy-button.bank-hotspot:focus-visible {
  outline: 3px solid rgba(255, 229, 130, .9);
  outline-offset: -3px;
}
.bank-rate-value {
  position: absolute;
  left: 260px;
  top: 292px;
  width: 120px;
  color: #24170e;
  text-align: center;
  text-shadow: 0 1px #fff5ce;
}
.bank-rate-value strong { display: block; font-size: 44px; line-height: 1; }
.bank-rate-value span { font-size: 18px; }
.bank-transaction-panel {
  position: absolute;
  left: 118px;
  right: 118px;
  bottom: 14px;
  max-height: 174px;
  overflow: auto;
  border: 4px ridge #8c532f;
  padding: 8px 12px;
  background: rgba(248, 224, 178, .96);
  color: #25150c;
  font-size: 14px;
}
.bank-transaction-panel h2 { margin: 0 0 4px; text-align: center; font-size: 19px; }
.bank-transaction-panel p { margin: 3px 0; }
.bank-transaction-panel .legacy-button { position: static; min-height: 24px; margin: 3px; }
.bank-loan-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bank-transaction-panel input,
.bank-transaction-panel select { width: 100%; }
.bank-document { position: absolute; color: #6e3f2a; font: 15px/1 "Courier New", monospace; }
.bank-document > img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: auto; }
.bank-document > span,
.bank-document > input,
.bank-document > select,
.bank-document > canvas,
.bank-document > p { position: absolute; box-sizing: border-box; }
.bank-loan-document { left: 86px; top: 3px; width: 467px; height: 471px; }
.bank-file-number { left: 73px; top: 154px; width: 100px; }
.bank-document-date { left: 316px; top: 154px; width: 125px; }
.bank-principal { left: 165px; top: 237px; width: 64px; height: 23px; border: 0; background: transparent; color: #5d321f; font: 15px "Courier New", monospace; }
.bank-years { left: 124px; top: 286px; width: 67px; height: 22px; border: 0; background: transparent; color: #5d321f; font: 15px "Courier New", monospace; }
.bank-repay-date { left: 202px; top: 317px; width: 94px; text-align: center; }
.bank-repay-total { left: 202px; top: 342px; width: 94px; text-align: center; }
.bank-interest { left: 265px; top: 367px; width: 50px; }
.bank-signature { left: 253px; top: 399px; width: 188px; height: 43px; background: transparent; touch-action: none; }
.bank-document-feedback { left: 127px; top: 442px; width: 214px; margin: 0; color: #8d160e; text-align: center; }
.bank-info-document { left: 79px; top: 15px; width: 482px; height: 450px; }
.bank-info-file { left: 105px; top: 229px; width: 250px; }
.bank-info-name { left: 50px; top: 276px; width: 375px; }
.bank-info-amount { left: 177px; top: 307px; width: 245px; }
.bank-info-period { left: 177px; top: 331px; width: 245px; }
.bank-info-due { left: 177px; top: 356px; width: 245px; }
.bank-info-interest { left: 177px; top: 380px; width: 245px; }
.bank-repayment-document { left: 77px; top: 18px; width: 485px; height: 443px; }
.bank-repay-file { left: 78px; top: 233px; width: 155px; }
.bank-repay-form-date { left: 290px; top: 233px; width: 154px; }
.bank-repay-name { left: 101px; top: 268px; width: 352px; }
.bank-repay-amount { left: 273px; top: 306px; width: 95px; text-align: center; }
.bank-repayment-document .bank-repay-signature { left: 39px; top: 389px; width: 298px; height: 39px; }
.bank-repayment-document .bank-document-feedback { left: 130px; top: 421px; }
.bank-receipt-document { left: 113px; top: 8px; width: 414px; height: 463px; }
.bank-receipt-date { left: 91px; top: 238px; width: 105px; }
.bank-receipt-amount { left: 129px; top: 271px; width: 118px; text-align: center; }
.bank-receipt-document .bank-receipt-signature { left: 50px; top: 385px; width: 286px; height: 42px; }
.bank-receipt-document .bank-document-feedback { left: 98px; top: 430px; }
.bank-cashier-slip {
  position: absolute;
  left: 229px;
  top: 340px;
  width: 180px;
  border: 3px ridge #a46a3d;
  padding: 8px;
  background: rgba(247, 220, 173, .95);
  color: #26150b;
  text-align: center;
}
.bank-cashier-slip strong { display: block; margin-bottom: 5px; font-size: 20px; }
.bank-cashier-slip .legacy-button { position: static; }
.bank-score-control,
.bank-score-signature {
  position: absolute;
  z-index: 15;
  box-sizing: border-box;
  border: 0;
  padding: 0;
  background: transparent;
  color: #5d321f;
}
.bank-score-control { appearance: none; text-align: center; }
.bank-score-control::-webkit-inner-spin-button,
.bank-score-control::-webkit-outer-spin-button { appearance: none; margin: 0; }
.bank-score-control:focus-visible,
.bank-score-signature:focus-visible { outline: 2px solid #1352ff; outline-offset: 1px; }
.bank-score-signature { touch-action: none; }
.bank-bottom-return { z-index: 5; }
.shop-item.sold { filter: grayscale(.85); opacity: .72; }
.business-sale-sign {
  display: block;
  float: left;
  width: 58px;
  height: 72px;
  margin: 0 8px 5px 0;
  object-fit: contain;
  image-rendering: auto;
}
.business-item::after { display: block; clear: both; content: ""; }

.scrapbook-page {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 14px;
  align-items: start;
}
.scrapbook-photo {
  position: static;
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  border: 8px ridge #6f4029;
  padding: 4px;
  background: #3d261b;
  color: #f8e9c8;
  font: inherit;
}
.scrapbook-photo img { width: 100%; height: 100%; object-fit: contain; image-rendering: auto; }
.scrapbook-page label { display: grid; gap: 5px; font-weight: bold; }
.scrapbook-page textarea {
  box-sizing: border-box;
  width: 100%;
  resize: none;
  border: 2px inset #b98b61;
  padding: 8px;
  background: #fff4d6;
  color: #302015;
  font: 15px/1.25 Georgia, serif;
}
.scrapbook-controls {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 13px;
}
.scrapbook-controls .legacy-button { position: static; }

.town-talk-stage { position: absolute; inset: 0; }
.town-talk-person {
  position: absolute;
  display: block;
  min-width: 0;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: url('/images/cursors/hover.cur') 11 0, url('/images/cursors/hover.png') 11 0, pointer;
}
.town-talk-person img { display: block; width: 100%; height: 100%; object-fit: fill; image-rendering: pixelated; }
.town-talk-person.speaking { filter: brightness(1.12); }
.town-talk-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.catalog-panel {
  position: absolute;
  left: 25px;
  top: 56px;
  box-sizing: border-box;
  width: 590px;
  height: 368px;
}
.catalog-book-page { position: absolute; inset: 0; width: 590px; height: 368px; image-rendering: pixelated; }
.catalog-page {
  position: absolute;
  left: 37px;
  top: 45px;
  width: 515px;
  height: 281px;
}
.catalog-page-cover { left: 70px; top: 60px; width: 447px; height: 251px; }
.catalog-page-product { left: 14px; top: 49px; width: 563px; height: 271px; }
.catalog-frame { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: auto; }
.catalog-data { position: absolute; left: 0; top: 0; width: 100%; height: auto; image-rendering: auto; }
.catalog-page-product .catalog-data { left: 24px; top: 0; width: 515px; height: 151px; }
.catalog-arrow,
.catalog-tab,
.catalog-back,
.catalog-cover-open { position: absolute; border: 0; padding: 0; background: transparent; }
.catalog-arrow { left: 550px; width: 16px; height: 10px; }
.catalog-arrow img,
.catalog-tab img,
.catalog-back img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.catalog-arrow-up { top: 64px; transform: rotate(180deg); }
.catalog-arrow-down { top: 286px; }
.catalog-arrow:disabled { visibility: hidden; }
.catalog-tab-seeds { left: 59px; top: 7px; width: 123px; height: 41px; }
.catalog-tab-products { left: 432px; top: 10px; width: 116px; height: 38px; }
.catalog-tab:disabled { visibility: hidden; }
.catalog-back { left: 485px; top: 322px; width: 75px; height: 35px; }
.catalog-cover-open { left: 70px; top: 60px; width: 447px; height: 251px; }
.catalog-status { position: absolute; inset: 0; color: #793c2d; font: bold 13px "Courier New", monospace; }
.catalog-seed-price,
.catalog-product-stock,
.catalog-product-price { position: absolute; text-align: center; }
.catalog-seed-price { top: 284px; width: 72px; }
.catalog-seed-price-1 { left: 102px; }
.catalog-seed-price-2 { left: 205px; }
.catalog-seed-price-3 { left: 309px; }
.catalog-seed-price-4 { left: 411px; }
.catalog-product-stock { left: 417px; top: 228px; width: 45px; }
.catalog-product-price { left: 246px; top: 275px; width: 96px; }
.catalog-order { position: absolute; inset: 0; pointer-events: none; }
.catalog-order > * { pointer-events: auto; }
.legacy-button.catalog-buy { left: 360px; top: 268px; width: 70px; height: 31px; }
.store-catalogue-book:focus-visible,
.store-back:focus-visible,
.store-seed-choice:focus-visible { outline: 3px solid #f4d549; outline-offset: -3px; }
.store-seed-bins:hover,
.store-seed-bins:focus-visible { outline: 3px solid rgba(255, 225, 112, .8); outline-offset: -3px; }
.seed-order-form .order-feedback,
.product-order-form .order-feedback { min-height: 20px; text-align: center; }
.store-order-sheet { position: absolute; z-index: 120; color: #7d3f2d; font: 14px/1 "Courier New", monospace; }
.store-order-sheet > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.store-order-sheet > input,
.store-order-sheet > span,
.store-order-sheet > p,
.store-order-sheet > button { position: absolute; box-sizing: border-box; }
.store-order-sheet input { border: 0; background: transparent; color: #743b2b; font: 14px "Courier New", monospace; text-align: center; }
.store-seed-order { left: 205px; top: 198px; width: 427px; height: 279px; }
.store-seed-acres { left: 121px; top: 103px; width: 46px; height: 15px; }
.store-seed-name { left: 283px; top: 103px; width: 101px; height: 16px; }
.store-seed-copy-acres { left: 51px; top: 190px; width: 73px; height: 16px; text-align: center; }
.store-seed-price { left: 185px; top: 190px; width: 65px; height: 16px; text-align: center; }
.store-seed-total { left: 316px; top: 189px; width: 67px; height: 16px; }
.store-seed-order .order-feedback { left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.store-seed-arrow,
.store-product-arrow { position: absolute; width: 16px; height: 9px; border: 0; padding: 0; background: transparent; }
.store-seed-arrow img,
.store-product-arrow img { display: block; width: 16px; height: 9px; image-rendering: pixelated; }
.store-seed-arrow-up { left: 172px; top: 102px; }
.store-seed-arrow-down { left: 172px; top: 112px; }
.store-product-order { left: 117px; top: 212px; width: 425px; height: 169px; }
.store-product-prompt { position: absolute; left: 54px; top: 52px; width: 317px; height: 13px; image-rendering: pixelated; }
.store-product-prompt-one { left: 103px; width: 219px; }
.store-product-quantity { left: 47px; top: 81px; width: 67px; height: 16px; }
.store-product-price { left: 181px; top: 81px; width: 67px; height: 16px; text-align: center; }
.store-product-total { left: 311px; top: 81px; width: 67px; height: 16px; text-align: center; }
.store-product-arrow-up { left: 101px; top: 79px; }
.store-product-arrow-down { left: 101px; top: 89px; }
.store-order-ok,
.store-order-cancel { width: 28px; height: 22px; border: 0; padding: 0; background: transparent; }
.store-seed-order .store-order-ok { left: 167px; top: 247px; }
.store-seed-order .store-order-cancel { left: 231px; top: 247px; }
.store-product-order .store-order-ok { left: 168px; top: 141px; }
.store-product-order .store-order-cancel { left: 232px; top: 141px; }
.store-order-ok img,
.store-order-cancel img { display: block; width: 28px; height: 22px; image-rendering: pixelated; }
.store-order-ok:focus-visible,
.store-order-cancel:focus-visible { outline: 3px solid #f4d549; outline-offset: 1px; }

.inventory-table { width: 100%; border-collapse: collapse; background: #fff0cc; }
.inventory-table th,
.inventory-table td { border: 1px solid #714524; padding: 3px 5px; text-align: right; }
.inventory-table th:first-child,
.inventory-table td:first-child { text-align: left; }

.newspaper-page {
  display: grid;
  height: 360px;
  place-items: center;
  overflow: hidden;
}
.newspaper-page img {
  display: block;
  max-width: 100%;
  max-height: 356px;
  image-rendering: auto;
}
.newspaper-controls {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.newspaper-controls .legacy-button { position: static; }

.panel-back {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
}

.game-toast {
  position: absolute;
  z-index: 30;
  left: 145px;
  bottom: -80px;
  width: 350px;
  border: 3px ridge #a65d31;
  padding: 7px 10px;
  background: #f4cc96;
  color: #1d1109;
  font: bold 15px "Times New Roman", Times, serif;
  text-align: center;
  transition: bottom .2s ease;
}
.game-toast.show { bottom: 12px; }

.game-status {
  margin: .65rem auto 0;
  color: #c6d8d5;
  font-size: .86rem;
  text-align: center;
}

.preservation-note {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(129, 226, 220, .24);
  background: rgba(6, 20, 24, .72);
}
.preservation-note h2 { margin-top: 0; font-size: 1.15rem; }
.preservation-note p { margin-bottom: 0; }

@media (max-width: 700px) {
  .preservation-bar { align-items: flex-start; flex-direction: column; }
  .preservation-bar div { width: 100%; }
  .preservation-bar button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .poster-prompt, .first-town-talk-blink { animation: none; }
  .game-toast { transition: none; }
}

#printPages { display: none; }
@media print {
  @page { size: landscape; margin: 15mm; }
  body > :not(#printPages) { display: none !important; }
  #printPages { display: block; background: white; color: black; }
  .print-document { position: relative; transform: none; margin: auto; print-color-adjust: exact; }
  .print-album-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 150mm; border: 1px solid black; border-radius: 10px; break-after: page; font: bold 14pt 'Times New Roman', serif; }
  .print-album-page:last-child { break-after: auto; }
  .print-album-page > div { padding: 8mm; }
  .print-album-page > div + div { border-left: 1px solid black; }
  .print-album-page p { white-space: pre-wrap; overflow-wrap: anywhere; }
  .print-album-page img { display: block; max-width: 100%; max-height: 95mm; margin: 6mm auto; }
  .print-photo-credit { font: italic 12pt 'Courier New', monospace; }
}
