/* Phone-only fit: the source artwork and desktop layout stay untouched. */
@media (max-width:680px) {
  body.home-view[data-site-scene="plain"] .chic-woodland > .chic-doors {
    top: 20px;
  }
  body.home-view[data-site-scene="plain"] .chic-woodland .chic-doors > #chic-door-hint {
    --ep-left: calc(50% + 20px);
    --ep-top: -66px;
    --ep-w: clamp(136px, 38vw, 148px);
    --ep-h: 72px;
    --ep-size: 12px;
    --ep-cloud: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20140%2072%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M28%2060%20C17%2060%209%2053%209%2044%20C6%2039%208%2031%2014%2026%20C16%2018%2026%2013%2037%2014%20C43%208%2054%206%2064%2010%20C73%206%2085%207%2091%2012%20C102%209%20113%2013%20118%2020%20C129%2022%20135%2030%20132%2039%20C135%2047%20129%2055%20120%2057%20C115%2064%20104%2065%2095%2063%20C87%2068%2075%2068%2066%2064%20C58%2067%2047%2065%2041%2062%20C36%2063%2031%2062%2028%2060Z%22%20fill%3D%22white%22%20stroke%3D%22%23a4a19d%22%20stroke-width%3D%221.85%22%20stroke-linejoin%3D%22round%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E");
    --ep-head: -24px 75px;
    --ep-b1-x: -26px; --ep-b1-y: 73px;
    --ep-b2-x: -17px; --ep-b2-y: 64px;
    --ep-b3-x: -7px; --ep-b3-y: 56px;
    --ep-b4-x: -2px; --ep-b4-y: 50px;
    padding: 12px 0 0;
  }
  body.home-view[data-site-scene="forest"] .forest-stage[data-scene="forest"] .chic-doors > #chic-door-hint {
    --ep-left: calc(50% + 20px);
    --ep-top: -43px;
    --ep-w: clamp(134px, 39vw, 148px);
    --ep-h: 83px;
    --ep-size: 12px;
    --ep-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 72' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='s' x='-5%25' y='-5%25' width='110%25' height='120%25'%3E%3CfeDropShadow dx='0' dy='1' stdDeviation='0.5' flood-color='%23142f24' flood-opacity='0.85'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M57.65 63.96A12.95 12.95 0 0 1 37.19 62.10A12.72 12.72 0 0 1 19.73 53.94A12.60 12.60 0 0 1 8.35 37.10A12.19 12.19 0 0 1 14.49 19.38A13.25 13.25 0 0 1 32.74 9.59A13.24 13.24 0 0 1 52.44 8.11A12.28 12.28 0 0 1 71.62 13.01A13.43 13.43 0 0 1 87.86 25.80A11.77 11.77 0 0 1 90.86 44.23A13.37 13.37 0 0 1 76.83 58.86A12.70 12.70 0 0 1 57.65 63.96Z' fill='%23fff' fill-opacity='0.92'/%3E%3Cpath d='M57.65 63.96A12.95 12.95 0 0 1 37.19 62.10A12.72 12.72 0 0 1 19.73 53.94A12.60 12.60 0 0 1 8.35 37.10A12.19 12.19 0 0 1 14.49 19.38A13.25 13.25 0 0 1 32.74 9.59A13.24 13.24 0 0 1 52.44 8.11A12.28 12.28 0 0 1 71.62 13.01A13.43 13.43 0 0 1 87.86 25.80A11.77 11.77 0 0 1 90.86 44.23A13.37 13.37 0 0 1 76.83 58.86A12.70 12.70 0 0 1 57.65 63.96Z' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round' vector-effect='non-scaling-stroke' filter='url(%23s)'/%3E%3C/svg%3E");
    --ep-head: -29px 106px;
    --ep-b1-x: -31px; --ep-b1-y: 102px;
    --ep-b2-x: -22px; --ep-b2-y: 93px;
    --ep-b3-x: -11px; --ep-b3-y: 84px;
    --ep-b4-x: 1px; --ep-b4-y: 75px;
    padding: 0;
  }
  body.home-view[data-site-scene="forest"] .forest-stage[data-scene="forest"] .chic-doorguide .guide-ghost {
    scale: .79;
  }
  body.home-view[data-site-scene="forest"] .forest-stage[data-scene="forest"] .chic-doorguide.ghost-move-invitation::after {
    top: calc(100% - 8px);
  }
  :is(body.home-view[data-site-scene="plain"] .chic-woodland,
      body.home-view[data-site-scene="forest"] .forest-stage[data-scene="forest"]) .chic-doors > #chic-door-hint > .door-universal-hint {
    width: 7em;
  }
}


@media (max-width:680px) {
  body.home-view[data-site-scene="plain"] .chic-woodland .chic-doors > #chic-door-hint::before,
  body.home-view[data-site-scene="plain"] .chic-woodland .chic-doors > #chic-door-hint::after,
  body.home-view[data-site-scene="plain"] .chic-woodland .chic-doors > #chic-door-hint > .door-universal-hint::before,
  body.home-view[data-site-scene="plain"] .chic-woodland .chic-doors > #chic-door-hint > .door-universal-hint::after {
    border-width: 1.6px;
  }
  body.home-view[data-site-scene="plain"] .forest-landing .chic-woodland .chic-doors .door-elephant {
    --classic-elephant-width: clamp(244px, 66vw, 258px);
    left: calc(50% - var(--classic-elephant-width) / 2);
    top: calc(126.67px - var(--classic-elephant-width) * 2 / 3);
    width: var(--classic-elephant-width);
    height: calc(var(--classic-elephant-width) * 2 / 3);
  }
  body.home-view[data-site-scene="plain"] .chic-woodland .chic-doors > #chic-door-hint {
    /* Keep the thought and its four dots together, just above the larger ear. */
    --ep-top: calc(-53px - clamp(18px, 5.65vw, 22px));
  }
  body.home-view[data-site-scene="plain"] .chic-woodland .chic-doors .door-elephant > img {
    content: url("assets/elephant-sleeping-classic-phone.svg");
  }
}


/* Keep the following speech divider spaced from the lowered elephant. */
@media (max-width:680px) {
  body.home-view[data-site-scene="plain"] .forest-landing .chic-speech {
    margin-top: 24px !important;
  }
}
@media (max-width:600px) {
  body.home-view[data-site-scene="plain"] .forest-landing .chic-speech {
    margin-top: 22px !important;
  }
}
