/* Versioned illustration treatment for the independent preview only. */
body { background: #f8f3e8; color: #493f34; }
header { height: 70px; }
.shore { aspect-ratio: 3 / 2; height: auto; min-height: 0; max-height: none; border-radius: 10px; background: #eee2c7; box-shadow: 0 12px 45px #68513714; }
.shore-illustration { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.intro { top: 4%; left: 5%; padding: 16px 24px; border-radius: 6px; background: #fff7e6be; backdrop-filter: blur(3px); }
.eyebrow { color: #786b52; }
h1 { font-size: clamp(26px, 3vw, 44px); color: #4e5143; margin: 15px 0; }
.intro > p:last-child { color: #6c6252; font-size: 12px; }
.weather { top: 33%; left: 5%; right: auto; color: #fffdf2; text-shadow: 0 1px 5px #244c57; }
.weather small { color: #fffaf0; }
.weather-dot { background: #e7de9b; }
.scene-object { gap: 0; padding: 0; justify-content: flex-end; border-radius: 50%; }
.scene-object:hover { background: radial-gradient(ellipse, #fff9da30, transparent 70%); }
.scene-object:focus-visible { outline-offset: 0; }
.drifting { left: 43%; top: 44%; width: 17%; height: 14%; }
.drifting .object-label { position: absolute; top: 100%; }
.object-label { white-space: nowrap; }
.desk { left: 5%; bottom: 8%; width: 29%; height: 29%; }
.mailbox { right: 3%; bottom: 12%; width: 19%; height: 40%; }
.object-label { background: #fff9eced; border: 1px solid #d4be98; border-radius: 5px; padding: 10px 15px; box-shadow: 0 3px 12px #4d4a3220; color: #4e5748; font-size: 14px; letter-spacing: 1px; }
.object-label small { font-size: 10px; color: #7a7464; }
.mailbox .object-label { margin-top: 0; }
.shore-caption { right: 38%; bottom: 4%; color: #6f6451; background: #fff8e7c9; padding: 9px 15px; border-radius: 4px; }
.resident { position: absolute; z-index: 5; top: 5%; right: 4%; width: 225px; padding: 17px; background: #fffaf0ed; color: #5f614c; border: 1px solid #c9b993; border-radius: 7px; box-shadow: 3px 5px 0 #ad98752b; text-align: left; }
.resident-top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 2px; }
.resident strong { display: block; margin: 12px 0 9px; font-family: Georgia, "SimSun", serif; font-size: 21px; font-weight: normal; }
.resident small { display: block; font-size: 11px; line-height: 1.8; }
.resident progress { width: 100%; height: 5px; accent-color: #788568; display: block; margin: 10px 0; }
.rules { font-size: 13px; line-height: 2; padding-left: 20px; }
.level-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 20px 0; }
.level-table td, .level-table th { padding: 9px; border-bottom: 1px solid #ddd5bf; text-align: left; }
.level-table .current-level { background: #e8ecdc; }
.sandbox-controls { margin-top: 25px; border-top: 1px dashed #c8bfa6; padding-top: 12px; }
.sandbox-controls select { font: inherit; color: inherit; padding: 9px; background: #fffdf5; border: 1px solid #ccc3ad; border-radius: 4px; }
.sandbox-controls label { display: inline-block; margin-right: 12px; }
@media (max-width: 900px) {
  main { padding: 0 10px; }
  .shore { aspect-ratio: auto; height: auto; min-height: 0; overflow: hidden; padding-top: 440px; padding-bottom: 54px; background: #f4ead7; }
  .shore-illustration { top: 245px; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
  .intro { top: 10px; left: 9px; right: 9px; padding: 12px; background: none; backdrop-filter: none; }
  h1 { font-size: 26px; white-space: normal; margin: 11px 0; letter-spacing: 0; }
  .intro > p:last-child { font-size: 11px; line-height: 1.8; margin: 5px 0; }
  .eyebrow { font-size: 8px; }
  .resident { top: 165px; left: 20px; right: 20px; width: auto; padding: 10px 14px; }
  .resident-top { font-size: 9px; }
  .resident strong { font-family: inherit; display: inline-block; font-size: 14px; margin: 7px 10px 0 0; }
  .resident small { display: inline-block; font-size: 10px; }
  .resident progress { display: none; }
  .resident .exp-copy { display: none; }
  .weather, .shore-caption { display: none; }
  .scene-object { top: auto; bottom: auto; border-radius: 4px; height: 56px; padding: 0; }
  .drifting { top: calc(245px + (100vw - 20px) * .34); left: 38%; width: 27%; }
  .desk { top: calc(245px + (100vw - 20px) * .51); left: 2%; width: 32%; }
  .mailbox { top: calc(245px + (100vw - 20px) * .51); right: 2%; width: 32%; }
  .object-label { padding: 7px 9px; font-size: 12px; white-space: nowrap; }
  .object-label small { display: none; }
  .object-label b { margin-left: 3px; }
  .drifting .object-label { position: static; }
  .mobile-actions { display: flex; position: relative; bottom: auto; left: auto; right: auto; margin: max(10px, calc((100vw - 20px) * .667 - 190px)) 15px -40px; padding-top: 10px; }
  .mobile-actions button { border: 0; background: none; color: #6c6a56; font-size: 12px; padding: 10px 20px; }
}
@media (max-width: 360px) {
  h1 { font-size: 22px; }
  .resident { left: 12px; right: 12px; padding: 10px; }
  .resident strong { font-size: 12px; margin-right: 5px; }
}
