.jz-walk { padding: 28px 0 54px; color: #292c26; }
.walk-top { display: flex; align-items: end; justify-content: space-between; gap: 16px 30px; margin-bottom: 18px; }
.walk-top h1, .walk-dialog h2 { font-family: "Songti SC", Iowan Old Style, Georgia, serif; font-weight: 500; }
.walk-top h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.02; }
.walk-top p { margin: 5px 0 0; color: #585d52; }
.walk-top nav { display: flex; flex-wrap: wrap; gap: 5px 20px; }
.walk-top nav a { padding: 8px 0; color: #394034; font-size: .88rem; text-underline-offset: 5px; }
.walk-stage { position: relative; height: clamp(470px, 73svh, 860px); overflow: hidden; isolation: isolate; background: #746959; }
.walk-canvas, .walk-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; }
.walk-canvas { display: block; z-index: 1; touch-action: none; }
.walk-backdrop { display: block; object-fit: cover; object-position: 54% center; }
.walk-stage.is-ready .walk-backdrop { visibility: hidden; }
.walk-hud { position: absolute; z-index: 3; inset: 0; pointer-events: none; color: #fff9ed; }
.walk-controls { display: flex; align-items: end; justify-content: space-between; gap: 10px; position: absolute; inset: auto 19px 19px; }
.walk-actions { display: flex; flex-wrap: wrap; gap: 5px 8px; max-width: min(420px, 100%); align-items: center; }
.walk-actions p { flex-basis: 100%; margin: 0 0 6px; font-size: .85rem; width: fit-content; text-shadow: 0 1px 4px #16130e; }
.walk-primary, .walk-secondary, .walk-pad button { min-height: 44px; border: 1px solid transparent; border-radius: 4px; padding: 8px 14px; font: inherit; font-size: .9rem; font-weight: 600; }
.walk-primary { background: #f6ecda; color: #22291e; box-shadow: 0 4px 20px #201a1b24; }
.walk-primary span { margin-inline-start: 8px; }
.walk-primary:hover { background: #fff9ed; }
.walk-secondary, .walk-pad button { background: #22281fc9; border-color: #ecdcc93d; color: #fffaf1; }
.walk-secondary:hover, .walk-pad button:hover, .walk-pad button.is-pressed { background: #444e3e; }
.walk-hud button { pointer-events: auto; }
.walk-own-mark { pointer-events: auto; display: inline-flex; align-items: center; text-decoration: none; }
.walk-pad { flex: none; display: grid; grid-template-columns: repeat(3, 42px); gap: 3px; }
.walk-pad button { width: 42px; min-height: 42px; font-size: 1.15rem; line-height: 1; padding: 1px 0; touch-action: none; }
.walk-pad [data-walk-direction="forward"] { grid-column: 2; }
.walk-pad [data-walk-direction="left"] { grid-row: 2; grid-column: 1; }
.walk-pad [data-walk-direction="backward"] { grid-row: 2; grid-column: 2; }
.walk-pad [data-walk-direction="right"] { grid-row: 2; grid-column: 3; }
.walk-distance, .walk-toast, .walk-load { background: #22281fe6; color: #fff8ea; }
.walk-distance { position: absolute; inset: 17px auto auto 17px; padding: 8px 11px; border-radius: 3px; font-size: .84rem; }
.walk-toast { position: absolute; z-index: 5; inset: 15px 16px auto auto; max-width: calc(100% - 32px); padding: 9px 13px; border-radius: 3px; font-size: .9rem; }
.walk-load { z-index: 4; position: absolute; padding: 18px 22px; inset: 50% auto auto 50%; transform: translate(-50%,-50%); min-width: 185px; text-align: center; border: 1px solid #e9d5b745; }
.walk-load p { margin: 0 0 6px; }
.walk-load a { color: inherit; text-underline-offset: 4px; font-size: .88rem; }
.walk-load button { display: block; margin: 8px auto 0; white-space: nowrap; }
.walk-healing-mix-form select { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #cec7b6; border-radius: 3px; background: #fffdf9; }
.walk-healing-mix-form input[type=range] { width: 100%; accent-color: #537364; }
.walk-no-js { position: absolute; inset: auto 12px 12px; z-index: 8; background: #fff; padding: 10px; }
.walk-edit-preview { position: absolute; z-index: 6; inset: auto 18px 18px auto; }
.walk-dialog { width: min(520px,calc(100vw - 24px)); max-height: calc(100dvh - 28px); padding: clamp(16px, 4vw, 32px); border: 1px solid #e4dbca; border-radius: 5px; color: #272c22; background: #fffaf1; }
.walk-dialog::backdrop { background: #19191498; }
.walk-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.walk-dialog h2 { font-size: clamp(1.55rem, 5vw, 2.35rem); }
.walk-close { padding: 0; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.9rem; }
.walk-meta { font-size: .82rem; color: #696557; margin: 1px 0 12px; }
.walk-form { display: grid; gap: 8px; }
.walk-form :is(textarea,input[type=text],input[type=file]) { min-width: 0; width: 100%; padding: 8px 10px; font: inherit; border: 1px solid #cec7b6; border-radius: 3px; background: #fffdf9; }
.walk-form textarea { resize: vertical; }
.walk-form small { color: #696557; }
.walk-consent { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; font-size: .91rem; }
.walk-consent input { width: 16px; height: 16px; margin: 5px 0 0; accent-color: #426151; }
.walk-colors { display: flex; flex-wrap: wrap; gap: 6px 12px; border: 0; padding: 5px 0; margin: 0; }
.walk-colors legend { padding: 0; font-size: .87rem; }
.walk-colors label { display: inline-flex; align-items: center; gap: 5px; min-height: 33px; font-size: .86rem; cursor: pointer; }
.walk-colors span { border-radius: 50%; width: 12px; height: 12px; }
.walk-color-charcoal { background: #292621; }
.walk-color-rust { background: #923d2a; }
.walk-color-teal { background: #275a4b; }
.walk-form-status:empty { display: none; }
.walk-form-status { color: #7a3b24; font-size: .9rem; margin: 0; }
.walk-form-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.walk-upload-preview { display: flex; align-items: center; gap: 12px; }
.walk-upload-preview img { width: 90px; max-height: 72px; object-fit: contain; }
.walk-text-button { background: none; min-height: 44px; padding: 4px 0; border: 0; color: #28463b; text-decoration: underline; text-underline-offset: 5px; }
.walk-reader img { width: 100%; max-height: 50vh; object-fit: contain; }
.walk-read-note { white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0; font-size: 1.08rem; }
.walk-copy-fallback { display: grid; gap: 5px; font-size: .85rem; }
.walk-copy-fallback input { width: 100%; min-width: 0; padding: 7px; }
.jz-walk [hidden] { display:none !important; }
@media(max-width: 660px) {
  .jz-walk { padding-top: 17px; }
  .walk-top { align-items: start; flex-direction: column; gap: 7px; margin-bottom: 8px; }
  .walk-top p { font-size: .85rem; }
  .walk-stage { height: clamp(430px,65svh,620px); }
  .walk-controls { inset: auto 10px 12px; }
  .walk-actions p { font-size: .76rem; }
  .walk-actions .walk-primary { padding: 6px 9px; font-size: .81rem; }
  .walk-distance { inset: 10px auto auto 10px; }
  .walk-pad { grid-template-columns: repeat(3, 37px); }
  .walk-pad button { width: 37px; min-height: 42px; }
}

.walk-room-tools { position: absolute; inset: 17px 17px auto auto; display: flex; align-items: center; gap: 6px; }
.walk-room-tools button { font-size: .8rem; padding: 6px 10px; }
.walk-presence { font-variant-numeric: tabular-nums; }
.walk-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 6px 0; border: 0; }
.walk-choices legend { padding: 0; font-size: .9rem; font-weight: 600; }
.walk-choices label { position: relative; display: inline-flex; cursor: pointer; }
.walk-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.walk-choices label span { padding: 8px 11px; border: 1px solid #dad0bf; border-radius: 4px; min-height: 38px; }
.walk-choices input:checked + span { border-color: #567462; background: #e2eade; }
.walk-choices input:focus-visible + span { outline: 2px solid #345f4c; outline-offset: 2px; }
.walk-outfits label span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-inline-end: .38rem; background: var(--outfit); }
.walk-outfit-pine { --outfit: #345e4b; }
.walk-outfit-clay { --outfit: #a54938; }
.walk-outfit-indigo { --outfit: #485d8b; }
.walk-outfit-cream { --outfit: #d2be91; }
.walk-people-list { margin-top: 12px; padding: 0; display: grid; gap: 6px; list-style: none; }
.walk-people-list li { padding: 8px 12px; background: #f1eadc; border-radius: 3px; overflow-wrap: anywhere; }
.walk-gesture { margin: 0 0 12px; color: #4b5c48; font-size: .9rem; }
.jz-walk:not([data-walk-mode="wall"]) .walk-distance { display: none; }
@media (max-width: 660px) {
  .walk-room-tools { inset: 10px 10px auto auto; gap: 4px; }
  .walk-room-tools button { min-height: 40px; font-size: .75rem; padding: 4px 7px; }
  .walk-distance { inset: 58px 10px auto auto; }
}

.walk-room-tools { max-width: calc(100% - 30px); flex-wrap: wrap; justify-content: end; }
.walk-reading, .walk-chat-panel {
  color: #262d25;
  background: #fffaf0f5;
  border: 1px solid #eee5d8;
  border-radius: 8px;
  box-shadow: 0 8px 25px #17231f28;
}
.walk-reading {
  position: absolute;
  right: 17px;
  top: 72px;
  display: flex;
  align-items: start;
  gap: 10px;
  width: min(295px, calc(100% - 34px));
  padding: 12px;
  pointer-events: auto;
}
.walk-reading img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.walk-reading-copy { min-width: 0; }
.walk-reading-meta { margin: 0 0 3px; color: #4f5a4e; font-size: .75rem; overflow-wrap: anywhere; }
.walk-reading-message {
  margin: 0;
  font-size: .93rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-height: 5.4em;
  overflow: auto;
}
.walk-reading-open {
  color: #274d43;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 34px;
  padding: 4px 0 0;
  font: inherit;
  font-size: .8rem;
}
.walk-chat {
  position: absolute;
  left: 17px;
  top: 67px;
  z-index: 2;
  width: min(325px, calc(100% - 34px));
}
.walk-chat-panel { margin-top: 5px; padding: 10px; pointer-events: auto; }
.walk-chat-list { max-height: min(128px, 20svh); overflow: auto; list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.walk-chat-list:empty { display: none; }
.walk-chat-list li { padding: 4px 0; overflow-wrap: anywhere; }
.walk-chat-list strong { display: inline; margin-inline-end: .5em; color: #31584c; }
.walk-chat-form { display: flex; gap: 6px; align-items: stretch; }
.walk-chat-form input {
  flex: 1; min-width: 0; width: 100%; min-height: 44px; padding: 7px 9px;
  border: 1px solid #cec7b6; border-radius: 5px; background: #fffdf9;
  font: inherit; font-size: 16px; color: #262d25;
}
.walk-chat-form button { padding-inline: 11px; }
.walk-chat-status { margin: 5px 0 0; font-size: .82rem; color: #7a3b24; }
@media (max-width: 660px) {
  .walk-room-tools { max-width: calc(100% - 20px); }
  .walk-chat { top: 58px; left: 10px; width: min(310px, calc(100% - 20px)); }
  .walk-chat-toggle { font-size: .78rem; }
  .walk-reading { top: 109px; right: 10px; width: min(280px, calc(100% - 20px)); padding: 8px; }
  .walk-reading img { width: 50px; height: 50px; }
  .walk-reading-message { font-size: .86rem; max-height: 3.8em; }
}

.walk-travel { position: relative; z-index: 4; }
.walk-travel summary { padding: 8px 0; cursor: pointer; color: #394034; font-size: .88rem; }
.walk-travel ul {
  position: absolute;
  inset: 100% 0 auto auto;
  min-width: min(220px, 85vw);
  margin: 0;
  padding: 6px 12px;
  list-style: none;
  background: #fffaf1;
  border: 1px solid #e4dbca;
  border-radius: 5px;
  box-shadow: 0 8px 26px #17231f20;
}
.walk-travel a { display: inline-block; width: 100%; }

.walk-seat-poses { display: flex; flex-basis: 100%; flex-wrap: wrap; gap: 4px; }
.walk-seat-poses [aria-pressed="true"] { background: #eee3ca; border-color: #eee3ca; color: #233128; }
