/* Project Outpost — Camp, Rest, and local activity presentation.
 * Presentation only: activity resolution, Energy, inventory mutation, damage,
 * rewards, and Ready state remain owned by the existing Host contracts. */

body.outpost-real-page-preview .camp-scene {
  --camp-scene-bg: none;
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text);
  background-color: var(--op-bg-raised);
  background-image: var(--camp-scene-bg);
  background-position: center;
  background-size: cover;
  box-shadow: none;
}

body.outpost-real-page-preview .camp-scene-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--op-bg) 70%, transparent);
}

body.outpost-real-page-preview .camp-scene-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--op-line);
  color: var(--op-text);
}

body.outpost-real-page-preview .camp-scene-heading span:first-child {
  display: grid;
  gap: 6px;
}

body.outpost-real-page-preview .camp-scene-heading small {
  color: var(--op-text-faint);
  font: 9px var(--op-font-mono);
  letter-spacing: .14em;
}

body.outpost-real-page-preview .camp-scene-heading b {
  font-family: var(--op-font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 520;
}

body.outpost-real-page-preview .camp-scene-heading > span:last-child {
  max-width: 45%;
  color: var(--op-text-muted);
  font: 10px var(--op-font-mono);
  text-align: right;
}

body.outpost-real-page-preview .camp-hotspot-layer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: end;
  gap: 0;
  min-height: 300px;
  padding: 76px 22px 64px;
}

body.outpost-real-page-preview .camp-hotspot {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 72px;
  padding: 12px;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-right: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text);
  background: color-mix(in srgb, var(--op-bg) 86%, transparent);
  box-shadow: none;
  backdrop-filter: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

body.outpost-real-page-preview .camp-hotspot:nth-child(3n + 1) {
  border-left: 1px solid var(--op-line);
}

body.outpost-real-page-preview .camp-hotspot:is(.available, .node):hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--op-surface-strong) 92%, transparent);
}

body.outpost-real-page-preview .camp-hotspot.locked {
  opacity: .42;
  filter: grayscale(1);
}

body.outpost-real-page-preview .camp-hotspot > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text-muted);
  background: var(--op-surface-soft);
  font-style: normal;
  font-size: 18px;
}

body.outpost-real-page-preview .camp-hotspot > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.outpost-real-page-preview .camp-hotspot b {
  overflow: hidden;
  font-size: 12px;
  font-weight: 570;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.outpost-real-page-preview .camp-hotspot small {
  color: var(--op-text-muted);
  font-size: 10px;
  line-height: 1.3;
}

body.outpost-real-page-preview .camp-hotspot > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

body.outpost-real-page-preview :is(.camp-hotspot, .camp-free-actions) button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--op-line-strong);
  border-radius: 0;
  color: var(--op-text);
  background: transparent;
  box-shadow: none;
}

body.outpost-real-page-preview :is(.camp-hotspot, .camp-free-actions) button:hover {
  border-color: var(--op-text-muted);
  background: var(--op-surface-soft);
}

body.outpost-real-page-preview .camp-free-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 52px;
  padding: 10px 20px;
  border-top: 1px solid var(--op-line);
  background: color-mix(in srgb, var(--op-bg) 94%, transparent);
}

body.outpost-real-page-preview .camp-free-actions span {
  margin-right: auto;
  color: var(--op-text-faint);
  font: 9px var(--op-font-mono);
  letter-spacing: .12em;
}

/* Party milestones and Host-owned Shared Chest. */
body.outpost-real-page-preview .camp-milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  border-top: 1px solid var(--op-line);
  border-left: 1px solid var(--op-line);
}

body.outpost-real-page-preview .camp-milestone-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border: 0;
  border-right: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  background: transparent;
}

body.outpost-real-page-preview .camp-milestone-card span {
  display: grid;
  gap: 3px;
}

body.outpost-real-page-preview .camp-milestone-card small {
  color: var(--op-text-muted);
}

body.outpost-real-page-preview .camp-milestone-card.unlocked {
  border-color: var(--op-line);
  background: rgba(var(--op-success-rgb, 149, 230, 190), .035);
  box-shadow: inset 2px 0 var(--op-success);
}

body.outpost-real-page-preview .camp-chest-modal {
  width: min(1100px, 94vw);
  max-height: 90vh;
  overflow: auto;
}

body.outpost-real-page-preview .camp-chest-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--op-line);
  border-left: 1px solid var(--op-line);
}

body.outpost-real-page-preview .camp-chest-layout > section {
  padding: 14px;
  border-right: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
}

body.outpost-real-page-preview .camp-chest-layout h3 {
  margin: 0 0 10px;
}

body.outpost-real-page-preview .camp-chest-list {
  display: grid;
  gap: 0;
  max-height: 50vh;
  overflow: auto;
}

body.outpost-real-page-preview .camp-chest-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 64px auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  background: transparent;
}

body.outpost-real-page-preview .camp-chest-item > span:nth-child(2),
body.outpost-real-page-preview .camp-chest-item label {
  display: grid;
  min-width: 0;
}

body.outpost-real-page-preview .camp-chest-item :is(b, small) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.outpost-real-page-preview .camp-chest-item input {
  width: 58px;
}

body.outpost-real-page-preview .camp-chest-log {
  margin-top: 14px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
}

body.outpost-real-page-preview .camp-chest-log p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 7px 0;
}

body.outpost-real-page-preview .camp-chest-log p small {
  margin-left: auto;
  color: var(--op-text-muted);
}

/* Rest encounter: one open workbench, no nested gold cards. */
body.outpost-real-page-preview #encounter .rest-content-full {
  min-height: 0;
  padding: 0;
  color: var(--op-text);
  background: transparent;
}

body.outpost-real-page-preview #encounter .rest-encounter {
  display: grid;
  gap: 0;
}

body.outpost-real-page-preview #encounter .rest-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 164px;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  height: auto !important;
  max-height: none !important;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.outpost-real-page-preview #encounter .rest-hero-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

body.outpost-real-page-preview #encounter .rest-hero :is(.panel-title, p) {
  margin: 0;
}

body.outpost-real-page-preview #encounter .rest-hero .panel-title {
  color: var(--op-text);
  font-size: 17px;
  font-weight: 560;
}

body.outpost-real-page-preview #encounter .rest-hero p {
  overflow: hidden;
  color: var(--op-text-muted);
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.outpost-real-page-preview #encounter .rest-eyebrow,
body.outpost-real-page-preview #encounter .rest-status-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

body.outpost-real-page-preview #encounter :is(.rest-eyebrow, .rest-status-rail) span {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
  padding: 0 9px;
  border: 0;
  border-left: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text-muted);
  background: transparent;
}

body.outpost-real-page-preview #encounter :is(.rest-eyebrow, .rest-status-rail) :is(small, b) {
  color: inherit;
  font: 8px var(--op-font-mono);
  letter-spacing: .08em;
}

body.outpost-real-page-preview #encounter .rest-status-rail b {
  color: var(--op-text);
}

body.outpost-real-page-preview #encounter .rest-energy-card {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 70px;
  padding: 10px;
  border: 0;
  border-left: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text);
  background: transparent;
  box-shadow: none;
}

body.outpost-real-page-preview #encounter .rest-energy-card small {
  color: var(--op-text-faint);
  font: 8px var(--op-font-mono);
  letter-spacing: .08em;
}

body.outpost-real-page-preview #encounter .rest-energy-card b {
  margin-top: 4px;
  color: var(--op-text);
  font: 18px var(--op-font-display);
}

body.outpost-real-page-preview #encounter .rest-energy-dots {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}

body.outpost-real-page-preview #encounter .rest-energy-dots i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--op-line-strong);
  border-radius: 0;
  background: transparent;
}

body.outpost-real-page-preview #encounter .rest-energy-dots i.active {
  border-color: var(--op-accent);
  background: var(--op-accent);
}

body.outpost-real-page-preview #encounter .rest-command-strip {
  display: none;
}

body.outpost-real-page-preview #encounter .rest-flow-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 34px;
  border-bottom: 1px solid var(--op-line);
}

body.outpost-real-page-preview #encounter .rest-flow-guide span {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid var(--op-line-faint);
  color: var(--op-text-faint);
  font: 8px var(--op-font-mono);
  letter-spacing: .1em;
  text-align: center;
}

body.outpost-real-page-preview #encounter .rest-flow-guide span:last-child {
  border-right: 0;
}

body.outpost-real-page-preview #encounter .rest-flow-guide span.complete {
  color: var(--op-success);
}

body.outpost-real-page-preview #encounter .rest-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 0;
  min-height: 0;
}

body.outpost-real-page-preview #encounter :is(.rest-activity-board.panel, .rest-side-panel.panel) {
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.outpost-real-page-preview #encounter .rest-side-panel.panel {
  position: static;
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: none;
  padding-left: 18px;
  border-left: 1px solid var(--op-line);
  overflow: visible;
}

body.outpost-real-page-preview #encounter :is(.rest-activity-board, .rest-side-panel) > .panel-title {
  margin: 0 0 12px;
  color: var(--op-text);
  font-size: 13px;
}

body.outpost-real-page-preview #encounter .rest-category-stack {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  grid-auto-flow: dense;
  gap: 0;
}

body.outpost-real-page-preview #encounter .rest-category-section {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-right: 1px solid var(--op-line);
  border-radius: 0;
  background: transparent;
}

body.outpost-real-page-preview #encounter .rest-category-title {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--op-line-faint);
}

body.outpost-real-page-preview #encounter .rest-category-title :is(b, small) {
  color: var(--op-text-muted);
  font: 9px var(--op-font-mono);
  letter-spacing: .09em;
}

body.outpost-real-page-preview #encounter .rest-category-title small {
  display: none;
}

body.outpost-real-page-preview #encounter .rest-category-title i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text-muted);
  font-style: normal;
}

body.outpost-real-page-preview #encounter .rest-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--op-line-faint);
  border-left: 1px solid var(--op-line-faint);
}

body.outpost-real-page-preview #encounter .rest-category-creative .rest-activity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.outpost-real-page-preview #encounter .rest-activity-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 112px;
  padding: 10px;
  border: 0;
  border-right: 1px solid var(--op-line-faint);
  border-bottom: 1px solid var(--op-line-faint);
  border-radius: 0;
  color: var(--op-text);
  background: transparent;
  box-shadow: none;
}

body.outpost-real-page-preview #encounter .rest-activity-card:hover {
  background: var(--op-surface-soft);
}

body.outpost-real-page-preview #encounter .rest-activity-top {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
}

body.outpost-real-page-preview #encounter .rest-activity-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text-muted);
  background: transparent;
}

body.outpost-real-page-preview #encounter .rest-activity-card :is(b, p, small) {
  margin: 0;
}

body.outpost-real-page-preview #encounter .rest-activity-card b {
  font-size: 12px;
  font-weight: 570;
}

body.outpost-real-page-preview #encounter .rest-activity-card p {
  color: var(--op-text-muted);
  font-size: 10px;
  line-height: 1.35;
}

body.outpost-real-page-preview #encounter .rest-activity-card small {
  color: var(--op-text-faint);
  font-size: 9px;
}

body.outpost-real-page-preview #encounter .rest-activity-mode {
  padding: 0;
  border: 0;
  background: transparent;
}

body.outpost-real-page-preview #encounter .rest-activity-mode span {
  display: none;
}

body.outpost-real-page-preview #encounter .rest-activity-meter {
  height: 3px;
  border-radius: 0;
  background: var(--op-line-faint);
}

body.outpost-real-page-preview #encounter :is(.rest-activity-card button, .rest-card-lock) {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 0;
}

body.outpost-real-page-preview #encounter .rest-player-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--op-line);
  border-left: 1px solid var(--op-line);
}

body.outpost-real-page-preview #encounter .rest-player-summary > span {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-right: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  background: transparent;
}

body.outpost-real-page-preview #encounter .rest-player-summary > span small {
  color: var(--op-text-faint);
  font: 8px var(--op-font-mono);
}

body.outpost-real-page-preview #encounter .rest-player-summary > span b {
  color: var(--op-text);
  font-size: 12px;
}

body.outpost-real-page-preview #encounter .rest-result-list {
  display: grid;
  gap: 0;
  max-height: 240px;
  overflow: auto;
}

body.outpost-real-page-preview #encounter .rest-result-row {
  display: grid;
  gap: 4px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  background: transparent;
}

/* Local minigames keep semantic success/failure colors, but not gold chrome. */
body.outpost-real-page-preview .rest-minigame-modal {
  display: grid;
  gap: 12px;
  width: min(920px, 94vw);
  max-width: none;
  max-height: 92vh;
  overflow: auto;
  border-radius: 0;
}

body.outpost-real-page-preview .rest-minigame-modal :is(.rest-selection-header, .rest-tracking-header, .rest-timing-counter, .rest-timing-hit-feedback) {
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text-muted);
  background: transparent;
}

body.outpost-real-page-preview .rest-minigame-modal :is(.rest-selection-header, .rest-tracking-header, .rest-timing-hit-feedback) b {
  color: var(--op-text);
  font-family: var(--op-font-mono);
}

body.outpost-real-page-preview .rest-minigame-ability {
  display: inline-grid;
  gap: 1px;
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text-muted);
  background: transparent;
}

body.outpost-real-page-preview .rest-minigame-ability :is(small, b, em) {
  color: inherit;
  font-family: var(--op-font-mono);
  font-style: normal;
}

body.outpost-real-page-preview .rest-timing {
  position: relative;
  height: 74px;
  overflow: hidden;
  border: 1px solid var(--op-line-strong);
  border-radius: 0;
  background: var(--op-surface-soft);
  box-shadow: none;
}

body.outpost-real-page-preview .rest-timing-zone {
  background: rgba(var(--op-accent-rgb), .09);
  border-right: 1px solid var(--op-accent);
  border-left: 1px solid var(--op-accent);
  box-shadow: none;
}

body.outpost-real-page-preview .rest-timing-perfect {
  border-radius: 0;
  background: rgba(var(--op-success-rgb, 149, 230, 190), .18);
  box-shadow: none;
}

body.outpost-real-page-preview .rest-timing-needle {
  width: 3px;
  border-radius: 0;
  background: var(--op-text);
  box-shadow: none;
}

body.outpost-real-page-preview .rest-selection-grid {
  gap: 0;
  border-top: 1px solid var(--op-line);
  border-left: 1px solid var(--op-line);
}

body.outpost-real-page-preview .rest-selection-grid button {
  min-height: 86px;
  border: 0;
  border-right: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text);
  background: transparent;
  box-shadow: none;
}

body.outpost-real-page-preview .rest-selection-grid button.selected {
  border-color: var(--op-line);
  background: var(--op-surface-strong);
  box-shadow: inset 2px 0 var(--op-accent);
}

body.outpost-real-page-preview .rest-selection-grid button i {
  border: 1px solid var(--op-line);
  border-radius: 0;
  color: var(--op-text-muted);
  background: var(--op-surface-soft);
}

body.outpost-real-page-preview .rest-minigame-result {
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-bottom: 1px solid var(--op-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.outpost-real-page-preview .rest-minigame-result span {
  border-radius: 0;
  color: var(--op-text);
  background: transparent;
}

body.outpost-real-page-preview .rest-minigame-result b {
  color: var(--op-text);
}

body.outpost-real-page-preview .rest-minigame-result.critical {
  border-color: var(--op-success);
  box-shadow: inset 2px 0 var(--op-success);
}

body.outpost-real-page-preview :is(.rest-tracking-progress, .rest-brew-meter) {
  border-radius: 0;
  background: var(--op-surface-soft);
}

body.outpost-real-page-preview .rest-tracking-progress i,
body.outpost-real-page-preview .rest-fishing-meter .rest-tracking-progress span {
  border-radius: 0;
  background: var(--op-accent);
  box-shadow: none;
}

body.outpost-real-page-preview .rest-tracking-zone,
body.outpost-real-page-preview .rest-fishing-meter .rest-tracking-zone {
  border-color: var(--op-accent);
  border-radius: 0;
  background: rgba(var(--op-accent-rgb), .1);
  box-shadow: none;
}

body.outpost-real-page-preview :is(.rest-search-field, .rest-hunt-lane, .rest-fishing-meter, .rest-fishing-stage) {
  border: 1px solid var(--op-line-strong);
  border-radius: 0;
  box-shadow: none;
}

body.outpost-real-page-preview .rest-search-object {
  border-color: var(--op-line-strong);
  border-radius: 0;
  color: var(--op-text);
  background: color-mix(in srgb, var(--op-bg) 86%, transparent);
}

body.outpost-real-page-preview .rest-search-object i {
  color: var(--op-text-muted);
}

body.outpost-real-page-preview .rest-search-object.good {
  border-color: var(--op-success);
  background: rgba(var(--op-success-rgb, 149, 230, 190), .1);
}

body.outpost-real-page-preview .rest-search-object.bad {
  border-color: var(--op-danger);
  background: rgba(var(--op-danger-rgb, 255, 143, 143), .1);
}

body.outpost-real-page-preview .rest-hunt-aim {
  border-color: var(--op-accent);
  background: rgba(var(--op-accent-rgb), .08);
  box-shadow: none;
}

body.outpost-real-page-preview .rest-hunt-target {
  border: 1px solid var(--op-text);
  border-radius: 0;
  background: var(--op-text-muted);
  box-shadow: none;
}

body.outpost-real-page-preview :is(.rest-risk-grid, .rest-recipe-grid) button {
  border-color: var(--op-line);
  border-radius: 0;
  color: var(--op-text);
  background: transparent;
}

body.outpost-real-page-preview .rest-drawing-pad canvas {
  border-color: var(--op-line-strong);
  border-radius: 0;
  box-shadow: none;
}

body.outpost-real-page-preview .rest-drawing-tools button.active {
  border-color: var(--op-accent);
  background: rgba(var(--op-accent-rgb), .1);
}

body.outpost-real-page-preview .rest-fishing-state-label {
  border-color: var(--op-line-strong);
  border-radius: 0;
  color: var(--op-text);
  background: color-mix(in srgb, var(--op-bg) 88%, transparent);
  box-shadow: none;
}

@media (max-width: 980px) {
  body.outpost-real-page-preview #encounter :is(.rest-hero, .rest-workspace, .rest-category-stack),
  body.outpost-real-page-preview #encounter :is(.rest-category-gathering, .rest-category-production, .rest-category-creative) .rest-activity-grid {
    grid-template-columns: 1fr;
  }

  body.outpost-real-page-preview #encounter .rest-side-panel.panel {
    padding-left: 0;
    border-top: 1px solid var(--op-line);
    border-left: 0;
  }

  body.outpost-real-page-preview #encounter .rest-hero p {
    white-space: normal;
  }

  body.outpost-real-page-preview .camp-hotspot-layer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 40px;
  }

  body.outpost-real-page-preview .camp-hotspot:nth-child(3n + 1) {
    border-left: 0;
  }

  body.outpost-real-page-preview .camp-hotspot:nth-child(2n + 1) {
    border-left: 1px solid var(--op-line);
  }
}

@media (max-width: 620px) {
  body.outpost-real-page-preview .camp-scene {
    min-height: 0;
  }

  body.outpost-real-page-preview .camp-scene-heading {
    padding: 18px;
  }

  body.outpost-real-page-preview .camp-hotspot-layer {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 14px 90px;
  }

  body.outpost-real-page-preview .camp-hotspot {
    border-left: 1px solid var(--op-line) !important;
  }

  body.outpost-real-page-preview .camp-free-actions {
    flex-wrap: wrap;
  }

  body.outpost-real-page-preview .camp-free-actions span {
    width: 100%;
  }

  body.outpost-real-page-preview .camp-chest-layout {
    grid-template-columns: 1fr;
  }

  body.outpost-real-page-preview .camp-chest-item {
    grid-template-columns: 40px minmax(0, 1fr) 58px;
  }

  body.outpost-real-page-preview .camp-chest-item > button {
    grid-column: 2 / 4;
  }

  body.outpost-real-page-preview .rest-fishing-layout,
  body.outpost-real-page-preview .rest-drawing-pad {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.outpost-real-page-preview :is(.camp-hotspot, .stage-token-picker, .rest-fishing-stage) {
    transition: none;
  }
}
