/* Playful exploration; illustration coordinates assume the full, uncropped scene. */
.eli-visit { scroll-margin-top: 100px; margin: 0 0 34px; padding: clamp(20px, 3vw, 38px); background: #fffaf0; border: 1px solid #d9dec8; border-radius: 26px; box-shadow: 0 10px 24px #315e5009; }
.eli-visit__intro { display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 32px); }
.eli-visit__avatar { width: 94px; height: 94px; flex: 0 0 94px; object-fit: cover; border: 5px solid #eedda7; border-radius: 50%; }
.eli-visit__copy { min-width: 0; }
.eli-visit__copy h3 { margin: 0 0 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.13; }
.eli-visit__copy > p:not(.eli-kicker) { max-width: 750px; margin-bottom: 15px; font-size: 1.02rem; }
.eli-visit__choices { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 21px; }
.eli-story-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 48px; max-width: 100%; padding: 12px 18px; color: #214d40; background: #f1eedc; border: 2px solid #c8d1ba; border-radius: 13px; font: inherit; font-size: .96rem; font-weight: 800; text-decoration: none; text-align: center; cursor: pointer; }
.eli-story-button:hover { background: #ece3bd; }
.eli-story-button--primary { color: #fffaf0; background: #315e50; border-color: #315e50; box-shadow: 0 4px 0 #183f34; }
.eli-story-button--primary:hover { color: white; background: #244b3e; }
.eli-story-button--quiet { color: #345349; background: #fffaf0; }
.eli-story-button--quiet:hover { background: #f4eddb; }
.eli-story-listen { margin: 2px 0 6px; }
.eli-visit-progress { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d7ddc9; }
.eli-visit-route { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.eli-visit-stop { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; min-height: 116px; padding: 13px 6px; border: 2px solid #e0e4d4; border-radius: 18px; color: #4b6054; background: #f7f7ef; font: inherit; cursor: pointer; }
.eli-visit-stop__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e8eadb; font-size: 1.35rem; }
.eli-visit-stop__name { font-weight: 850; font-size: .82rem; line-height: 1.2; }
.eli-visit-stop__state { font-size: .67rem; line-height: 1.3; }
.eli-visit-stop[data-visited="true"] { background: #e9f0df; border-color: #b6c6a5; }
.eli-visit-stop[data-visited="true"] .eli-visit-stop__icon { background: #cedfc0; }
.eli-visit-stop[aria-current="step"] { border-color: #315e50; background: #ffedb5; color: #183f34; }
.eli-visit-stop[aria-current="step"] .eli-visit-stop__icon { background: #f6cc63; }
.eli-visit-end { padding: 30px 0 0; margin-top: 26px; border-top: 1px solid #cdd6bf; }
.eli-visit-end h3 { margin: 0 0 14px; font-size: 2rem; }
.eli-visit-end .eli-story-narration { max-width: 760px; }
.eli-visit-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 30px; padding-top: 23px; border-top: 1px solid #d9dfce; }
.eli-visit-next > span { color: #55705e; font-size: .86rem; font-weight: 800; }
.eli-activity { min-width: 0; }
.eli-activity-instruction { margin: 20px 0 16px; color: #425f51; font-size: .94rem; line-height: 1.6; }
.eli-room-scene { position: relative; overflow: hidden; isolation: isolate; }
.eli-room-scene > img { display: block; width: 100%; height: auto; transform-origin: var(--eli-zoom-x, 50%) var(--eli-zoom-y, 50%); transition: transform 500ms ease; }
.eli-room-scene[data-eli-zoomed="true"] > img { transform: scale(var(--eli-zoom-scale, 2.3)); }
.eli-scene-hotspot { position: absolute; left: var(--eli-hotspot-x); top: var(--eli-hotspot-y); transform: translate(-50%, -50%); z-index: 2; display: grid; place-items: center; width: clamp(48px, 5vw, 62px); height: clamp(48px, 5vw, 62px); min-width: 44px; min-height: 44px; padding: 0; color: #284d3d; background: #fff8dde8; border: 3px solid #fffbed; border-radius: 50%; outline: 2px solid #b88d32; box-shadow: 0 5px 20px #183f3470; font: inherit; font-size: 2rem; font-weight: 800; cursor: pointer; }
.eli-scene-hotspot:hover { color: #173e31; background: #ffe39b; box-shadow: 0 6px 25px #183f3490; }
.eli-scene-hotspot[data-eli-ring] { font-size: 2.4rem; background: #f6d591f2; }
.eli-scene--ringing .eli-scene-hotspot[data-eli-ring] { animation: eli-rope-ring 700ms ease-in-out; }
@keyframes eli-rope-ring { 0%, 100% { transform: translate(-50%, -50%) rotate(0); } 25% { transform: translate(-50%, -34%) rotate(-8deg); } 55% { transform: translate(-50%, -50%) rotate(7deg); } 80% { transform: translate(-50%, -42%) rotate(-4deg); } }
.eli-day-rhythm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 24px 0 0; }
.eli-day-rhythm__item { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 15px 5px; background: #efecd8; border-radius: 38px 38px 14px 14px; color: #3e5748; }
.eli-day-rhythm__item > span { font-size: 1.7rem; }
.eli-day-rhythm__item strong { font-size: .78rem; }
.eli-discovery { margin-top: 22px; padding: 22px; color: #2f5142; background: #eaf0dd; border-left: 4px solid #bd9b45; border-radius: 0 18px 18px 0; }
.eli-discovery .eli-story-narration { margin: 0 0 12px; font-size: 1.03rem; font-weight: 750; line-height: 1.65; }
.eli-discovery .eli-listen { margin-bottom: 0; }
.eli-book-shelf { display: flex; align-items: stretch; justify-content: center; gap: clamp(12px, 3vw, 28px); padding: 5px 4px 17px; border-bottom: 10px solid #a7784e; border-radius: 0 0 8px 8px; }
.eli-book { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; width: min(46%, 190px); min-width: 0; min-height: 200px; padding: 22px 14px; color: #fff7da; background: #315e50; border: 2px solid #183f34; border-left: 12px solid #214537; border-radius: 5px 14px 14px 5px; box-shadow: 4px 4px 0 #e2d9b9, 7px 7px 0 #8c653d; font: inherit; cursor: pointer; transform: rotate(-3deg); transition: transform 180ms ease; }
.eli-book--disippel { background: #6a4b6c; border-color: #503752; border-left-color: #483048; transform: rotate(3deg); }
.eli-book:hover, .eli-book[aria-pressed="true"] { transform: translateY(-9px) rotate(0); }
.eli-book[aria-pressed="true"] { outline: 3px solid #e4b44c; outline-offset: 6px; }
.eli-book__symbol { font-size: 2.6rem; color: #efca78; line-height: 1; }
.eli-book > strong { font-family: var(--font-title); font-size: clamp(.92rem, 1.7vw, 1.22rem); }
.eli-book__open { border-top: 1px solid #fff8dc55; padding-top: 12px; font-size: .69rem; }
.eli-open-book .eli-discovery { padding: 26px 26px 26px 35px; background: repeating-linear-gradient(0deg, #fff7e0 0, #fff7e0 26px, #e9dfc0 27px); border: 1px solid #d2c299; border-left: 9px solid #d8c9a0; border-radius: 6px 20px 20px 6px; box-shadow: 4px 5px 0 #e4d9b8; }
.eli-open-book .eli-story-narration { background: #fff7e0e8; padding: 5px 0; color: #3d453b; }
.eli-placemat { position: relative; width: 100%; aspect-ratio: 1.65; min-height: 160px; overflow: hidden; border: 9px solid #cba777; border-radius: 22px; background: repeating-linear-gradient(0deg, #fcf4dc 0 22px, #eadfc0 23px 24px); box-shadow: inset 0 0 0 2px #c0bc99; }
.eli-placemat::before { content: ''; position: absolute; inset: 10px; border: 2px dashed #beb99a; border-radius: 12px; }
.eli-placemat__name { position: absolute; top: 15px; left: 12px; right: 12px; text-align: center; color: #6a664e; font-size: .73rem; font-weight: 800; }
.eli-placemat__item { position: absolute; display: grid; place-items: center; transform: translate(-50%, -50%); }
.eli-placemat__item--plate { top: 55%; left: 39%; width: 39%; aspect-ratio: 1; }
.eli-placemat__item--cup { top: 43%; left: 75%; width: 15%; aspect-ratio: 1; }
.eli-placemat__item--bread { top: 78%; left: 75%; width: 26%; aspect-ratio: 1.7; }
.eli-table-art { position: relative; display: block; flex-shrink: 0; }
.eli-table-art--plate { width: 55px; height: 55px; border: 4px solid #b0c4bb; background: #fffdf4; border-radius: 50%; box-shadow: inset 0 0 0 6px #ecf0e6, inset 0 0 0 8px #c6d2c6, 2px 3px 4px #23483226; }
.eli-table-art--cup { width: 37px; height: 39px; margin: 8px 13px 8px 5px; background: linear-gradient(90deg, #a9c2ab, #e4ebce); border: 3px solid #6b967e; border-radius: 7px 7px 13px 13px; box-shadow: 1px 3px 3px #23483226; }
.eli-table-art--cup::after { content: ''; position: absolute; top: 6px; right: -15px; width: 15px; height: 20px; border: 5px solid #6b967e; border-left: 0; border-radius: 0 13px 13px 0; }
.eli-table-art--cup::before { content: ''; position: absolute; top: -5px; left: -2px; right: -2px; height: 9px; border: 2px solid #6b967e; background: #f7f5df; border-radius: 50%; }
.eli-table-art--bread { width: 65px; height: 38px; margin: 9px 0; border: 3px solid #a87135; border-radius: 48% 48% 25% 25%; background: repeating-linear-gradient(117deg, transparent 0 13px, #edc484 14px 18px, transparent 19px 25px), #c99049; box-shadow: inset 0 -4px 0 #b77b38, 1px 3px 3px #65452224; transform: rotate(-10deg); }
.eli-placemat__item .eli-table-art { width: 100%; height: 100%; margin: 0; }
.eli-placemat__item .eli-table-art--plate { border-width: 5px; }
.eli-table-choices, .eli-thought-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 17px 0; }
.eli-object-choice, .eli-thought-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 112px; min-width: 44px; padding: 13px 6px; color: #345349; background: #f6f1df; border: 2px solid #d6d8bd; border-radius: 18px; font: inherit; cursor: pointer; }
.eli-object-choice > strong, .eli-thought-choice > strong { font-size: .77rem; font-weight: 800; }
.eli-object-choice[aria-pressed="true"], .eli-thought-choice[aria-pressed="true"] { color: #214632; border-color: #658655; background: #dfeacf; box-shadow: inset 0 0 0 2px #fffaf0; }
.eli-object-choice:hover, .eli-thought-choice:hover { border-color: #a48642; }
.eli-thought-choice > span { font-size: 2.4rem; line-height: 1.15; }
.eli-thought { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.eli-thought__avatar { flex: 0 0 90px; width: 90px; height: 90px; object-fit: cover; border: 5px solid #e7d698; border-radius: 50%; }
.eli-thought__bubble { position: relative; flex: 1; min-width: 0; min-height: 88px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border: 2px solid #e0d4ad; border-radius: 26px; background: #fff6d8; }
.eli-thought__bubble::before { content: ''; position: absolute; left: -13px; top: 40%; width: 18px; height: 18px; background: #fff6d8; border-left: 2px solid #e0d4ad; border-bottom: 2px solid #e0d4ad; transform: rotate(45deg); }
.eli-thought__prompt { margin: 0; font-weight: 800; color: #685b39; }
.eli-thought .eli-discovery { margin: 0; padding: 0; background: transparent; border: 0; }
.eli-thought .eli-story-narration { color: #4d4934; font-family: var(--font-title); font-size: 1.15rem; line-height: 1.4; }
.eli-story-button:focus-visible, .eli-visit-stop:focus-visible, .eli-scene-hotspot:focus-visible, .eli-book:focus-visible, .eli-object-choice:focus-visible, .eli-thought-choice:focus-visible { outline: 4px solid #ba771d; outline-offset: 5px; }
@media (max-width: 980px) {
  .eli-visit-route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eli-visit-stop { min-height: 102px; }
}
@media (max-width: 540px) {
  .eli-visit__intro { display: block; }
  .eli-visit__avatar { width: 72px; height: 72px; margin-bottom: 17px; }
  .eli-visit__choices { align-items: stretch; }
  .eli-visit__choices > .eli-story-button { flex: 1 1 100%; }
  .eli-visit { padding: 22px 17px; border-radius: 21px; }
  .eli-visit .eli-kicker { font-size: .65rem; letter-spacing: .1em; }
  .eli-visit-route { gap: 7px; }
  .eli-visit-stop { padding: 10px 3px; }
  .eli-visit-stop__name { font-size: .7rem; overflow-wrap: anywhere; }
  .eli-visit-stop__state { font-size: .59rem; }
  .eli-visit-next { flex-direction: column; align-items: stretch; }
  .eli-discovery { padding: 18px; }
  .eli-book { min-height: 182px; padding: 19px 9px; border-left-width: 9px; }
  .eli-book__open { font-size: .64rem; }
  .eli-placemat { border-width: 7px; }
  .eli-table-choices, .eli-thought-choices { gap: 7px; }
  .eli-object-choice { min-height: 104px; padding-inline: 3px; }
  .eli-table-art--bread { width: 57px; }
  .eli-thought { gap: 12px; align-items: flex-start; }
  .eli-thought__avatar { flex-basis: 62px; width: 62px; height: 62px; border-width: 4px; }
  .eli-thought__bubble { padding: 16px 13px; }
  .eli-thought .eli-story-narration { font-size: 1rem; }
  .eli-thought__bubble .eli-listen { font-size: .77rem; padding-inline: 10px; }
  .eli-thought__bubble::before { top: 25px; }
}
html[data-calm="true"] .eli-room-scene > img,
html[data-calm="true"] .eli-book,
body.calm-mode .eli-room-scene > img,
body.calm-mode .eli-book { transition: none; }
html[data-calm="true"] .eli-scene--ringing .eli-scene-hotspot,
body.calm-mode .eli-scene--ringing .eli-scene-hotspot { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .eli-room-scene > img, .eli-book { transition: none; }
  .eli-scene--ringing .eli-scene-hotspot { animation: none; }
}
