@charset "UTF-8";
/* Dedicated, unscaled illustrations for existing camp records. All counters,
   conditions, status badges and actions remain live DOM content. */
.camp-handbook-heading {
  display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: center;
  gap: 10px; margin: 0 0 12px; color: #604321;
}
.camp-handbook-cover { display: block; width: 88px; height: 115px; object-fit: contain; image-rendering: pixelated; }
.camp-handbook-heading h3 { font-size: 14px; margin: 0 0 6px; line-height: 1.4; }
.camp-handbook-heading p { font-size: 11px; margin: 3px 0; line-height: 1.5; }
#app .game-shell[data-page="missions"] .scene-shell { height: 184px; }
#app .game-shell[data-page="missions"] .scene-heading { display: none; }
.mission-commission-board { position: absolute; inset: 4px 8px; z-index: 2; }
.mission-board-art { width: 100%; height: 100%; object-fit: contain; display: block; image-rendering: pixelated; }
.mission-board-copy {
  position: absolute; left: 21%; right: 21%; top: 30%; bottom: 21%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #523719; text-align: center;
}
.mission-board-copy h1 { font-size: 22px; margin: 0 0 3px; line-height: 1.2; }
.mission-board-copy p { font-size: 12px; margin: 2px 0; line-height: 1.3; }
.mission-board-copy b { color: #3d6b2e; font-size: 17px; }
.mission-board-copy small { font-size: 10px; line-height: 1.4; }
.codex-letter-detail { position: relative; width: 100%; margin: 0; }
.codex-letter-art { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.codex-letter-copy { position: absolute; left: 15%; right: 21%; top: 18%; bottom: 23%; color: #634426; }
.codex-letter-copy > b { display: block; color: #53733a; font-size: 11px; border-bottom: 1px solid #ccb88e; padding-bottom: 6px; }
.codex-letter-copy > h3 { margin: 9px 0 !important; font-size: 15px; line-height: 1.4; }
.codex-letter-copy p { font-size: 12px; line-height: 1.7; margin: 6px 0 12px; }
.codex-letter-copy small { font-size: 10px; line-height: 1.5; display: block; }
.codex-letter-copy { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 3px; }
.codex-letter-copy:focus-visible { outline: 2px solid #927340; outline-offset: 3px; }
.codex-directory { margin: 0 0 16px; border: 1px solid #b9a371; background: #f0e1bc; border-radius: 5px; }
.codex-directory > summary { min-height: 52px; padding: 10px; color: #604321; cursor: pointer; line-height: 1.5; }
.codex-directory > summary b { font-size: 15px; }
.codex-directory > summary small { display: block; margin-left: 15px; font-size: 11px; color: #647847; }
.codex-directory > summary:focus-visible, .codex-entity-card:focus-visible { outline: 2px solid #7c602e; outline-offset: 2px; }
.codex-entity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0 8px 10px; }
.codex-entity-card { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; min-height: 44px; padding: 10px 7px; border: 1px dashed #b8a273; border-radius: 4px; background: #e5d5b2; color: #6b5134; cursor: pointer; font: inherit; text-align: center; overflow-wrap: anywhere; }
.codex-entity-card.is-collected { border-style: solid; border-color: #9ca16c; background: #f9edcc; }
.codex-entity-art { display: block; width: 100%; height: 82px; object-fit: contain; image-rendering: pixelated; }
.codex-entity-card > b { font-size: 13px; line-height: 1.5; }
.codex-entity-card > b small { font-size: 10px; font-weight: 400; }
.codex-entity-card > span { font-size: 11px; line-height: 1.6; color: #55723d; }
.codex-entity-card > small { font-size: 11px; line-height: 1.6; }
.codex-entity-detail { color: #624627; overflow-wrap: anywhere; }
.codex-entity-detail > header { display: grid; grid-template-columns: minmax(60px,80px) minmax(0,1fr); gap: 10px; align-items: center; }
.codex-detail-art { display: block; width: 100%; height: 95px; object-fit: contain; image-rendering: pixelated; }
.codex-entity-detail header b { font-size: 14px; }
.codex-entity-detail p { font-size: 12px; line-height: 1.7; margin: 7px 0; }
.codex-entity-detail h3, .codex-letter-appendix h3 { font-size: 14px; line-height: 1.6; margin: 15px 0 6px; }
.codex-facts { margin: 12px 0; padding: 8px; background: #f2e4bf; border: 1px solid #d4bf94; font-size: 12px; }
.codex-facts > div { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 8px; padding: 5px 0; line-height: 1.6; }
.codex-facts dt { color: #7e613e; }
.codex-facts dd { margin: 0; text-align: right; font-weight: 700; color: #506a38; }
.codex-entity-detail .resource-list, .codex-letter-appendix .resource-list { display: grid; grid-template-columns: 1fr; align-items: start; gap: 6px; margin: 8px 0; }
.codex-entity-detail .resource-value, .codex-letter-appendix .resource-value { min-width: 0; white-space: normal; font-size: 12px; }
.codex-entity-detail .button, .codex-letter-appendix .button { min-height: 44px; margin-top: 12px; white-space: normal; overflow-wrap: anywhere; }
.codex-letter-appendix { margin-top: 12px; padding-top: 8px; border-top: 1px dashed #bea475; color: #624627; }
.codex-letter-appendix p { margin: 7px 0; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.codex-letter-appendix h4 { margin: 14px 0 6px; font-size: 12px; line-height: 1.6; }
#app .game-shell[data-page="codex"] .codex-stamp { min-height: 120px; }
#app .game-shell[data-page="codex"] .codex-stamp b { line-height: 1.6; }
#app .game-shell[data-page="codex"] .codex-stamp small { font-size: 11px; line-height: 1.6; }
#app .game-shell[data-page="landmarks"] .scene-shell { height: 200px; }
.landmark-survey { margin: 0 0 15px; color: #5f4326; }
.landmark-survey h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 16px; margin: 0 0 4px; }
.landmark-survey h2 small { font-size: 11px; white-space: nowrap; }
.landmark-survey-art { position: relative; width: 100%; }
.landmark-map-art { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.landmark-map-pin {
  position: absolute; transform: translate(-50%,-50%); width: 44px; height: 44px;
  border: 0; padding: 0; background: none; display: grid; place-items: center; cursor: pointer;
}
.landmark-map-pin > span {
  display: grid; place-items: center; width: 23px; height: 23px;
  border: 2px solid #72502c; border-radius: 50%; background: #f7e4b9; color: #8a6031;
  font-size: 16px; line-height: 1; font-weight: 900; box-shadow: 0 2px #432d1b88;
}
.landmark-map-pin.is-restored > span { background: #527b37; border-color: #ead083; color: #fff0b3; }
.landmark-map-pin:focus-visible { outline: 2px solid #e9bd3e; outline-offset: 1px; }
.landmark-survey > p { font-size: 11px; text-align: center; margin: 4px 0; }
.toast[data-commit-status] { font-size: 12px; line-height: 1.55; outline: none; }
#app .game-shell[data-page="growth"] .mother-growth:has(.landmark-card) { --scene-height: 200px; }
#app .game-shell[data-page="growth"] .mother-growth:has(.landmark-card) > .mother-growth-scene { height: 200px; }
#app .game-shell[data-page="growth"] .mother-growth:has(.landmark-card) > .tab-strip { margin-top: 0; }
@media (max-width: 340px) {
  .camp-handbook-heading { grid-template-columns: 72px minmax(0,1fr); gap: 8px; }
  .camp-handbook-cover { width: 72px; height: 98px; }
  .camp-handbook-heading h3 { font-size: 12px; }
  .mission-board-copy h1 { font-size: 20px; }
  .mission-board-copy p { font-size: 11px; }
  .mission-board-copy small { font-size: 9px; }
  .codex-letter-copy { top: 17%; }
  .codex-letter-copy > h3 { font-size: 13px; margin: 6px 0 !important; }
  .codex-letter-copy p { font-size: 11px; line-height: 1.55; margin-bottom: 7px; }
  .codex-entity-grid { gap: 6px; padding-left: 6px; padding-right: 6px; }
  .codex-entity-card { padding: 8px 5px; }
  .codex-entity-art { height: 72px; }
  .codex-entity-detail > header { grid-template-columns: 62px minmax(0,1fr); gap: 7px; }
}
