/* Copyright © 2026 ANIMAL ZOOS. All Rights Reserved.
   ANIMAL ZOOS Chameleon Simulator
   Internal ID: AZ_CHAMELEON_SIM_2026_V1 */
#aj .chameleon-english-demo {
  --ce-ink: #222820;
  --ce-muted: #73796f;
  --ce-green: #456b43;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(24px, 4vh, 44px) 24px 20px;
  background: #fbfbf8;
  color: var(--ce-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.55;
  isolation: isolate;
}
#aj .chameleon-english-demo *,
#aj .chameleon-english-demo *::before,
#aj .chameleon-english-demo *::after { box-sizing: border-box; }
#aj .chameleon-english-demo [hidden] { display: none !important; }
#aj .chameleon-english-demo button {
  appearance: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#aj .chameleon-english-demo button:focus-visible {
  outline: 2px solid var(--ce-green);
  outline-offset: 3px;
}
#aj .chameleon-english-demo__heading {
  max-width: 1160px;
  margin: 0 auto 24px;
  text-align: center;
}
#aj .chameleon-english-demo__heading h1 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.055em;
}
#aj .chameleon-english-demo__heading p {
  margin: 14px 0 0;
  color: var(--ce-muted);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.5;
  white-space: nowrap;
  letter-spacing: -.02em;
}
#aj .chameleon-english-demo__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
  align-items: center;
  gap: 26px;
  width: min(100%, 1260px);
  margin: 0 auto;
}
#aj .chameleon-english-demo__visual { width: 100%; min-width: 0; }
#aj .chameleon-english-demo__media {
  position: relative;
  width: min(100%, calc(70vh * 1.7917));
  margin: 0 auto;
  aspect-ratio: 1.7917;
  max-height: 70vh;
  overflow: hidden;
  background: #f2f1ec;
}
#aj .chameleon-english-demo__poster,
#aj .chameleon-english-demo__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}
#aj .chameleon-english-demo__poster {
  z-index: 0;
  opacity: 1;
  transition: opacity 360ms ease;
}
#aj .chameleon-english-demo__poster.is-covered { opacity: 0; }
#aj .chameleon-english-demo__video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}
#aj .chameleon-english-demo__video.is-visible { opacity: 1; }
#aj .chameleon-english-demo__hotspots { position: absolute; inset: 0; z-index: 3; }
#aj .chameleon-english-demo__hotspots button {
  position: absolute;
  min-width: 0;
  min-height: 0;
  padding: 4px 10px;
  border: 1px solid rgba(69, 107, 67, .48);
  border-radius: 999px;
  background: rgba(255, 255, 255, .51);
  box-shadow: 0 1px 4px rgba(31, 48, 31, .08);
  color: #315535;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .015em;
  transform: translate(-50%, -50%);
  transition: border-color 160ms ease, box-shadow 160ms ease,
    background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
#aj .chameleon-english-demo__hotspots button:hover,
#aj .chameleon-english-demo__hotspots button:focus-visible {
  background: rgba(255, 255, 255, .66);
  border-color: rgba(48, 83, 50, .8);
  box-shadow: 0 4px 12px rgba(31, 48, 31, .17);
  transform: translate(-50%, -53%);
}
#aj .chameleon-english-demo__hotspots button:active,
#aj .chameleon-english-demo__hotspots button[aria-expanded="true"] {
  border-color: #315535;
  background: rgba(49, 85, 53, .82);
  box-shadow: 0 3px 10px rgba(31, 48, 31, .2);
  color: #fff;
}
#aj .chameleon-english-demo__hotspots [data-feature="eyes"] { left: 25%; top: 20%; }
#aj .chameleon-english-demo__hotspots [data-feature="eyes"]::after {
  content: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 58%;
  width: 1px;
  height: 24px;
  background: rgba(49, 85, 53, .5);
  pointer-events: none;
}
#aj .chameleon-english-demo__hotspots [data-feature="tongue"] { left: 22%; top: 39%; }
#aj .chameleon-english-demo__hotspots [data-feature="scales"] { left: 57%; top: 17%; }
#aj .chameleon-english-demo__hotspots [data-feature="skin"] { left: 49%; top: 53%; }
#aj .chameleon-english-demo__hotspots [data-feature="claws"] { left: 61%; top: 72%; }
#aj .chameleon-english-demo__hotspots [data-feature="tail"] { left: 83%; top: 75%; }
#aj .chameleon-english-demo__credit {
  display: grid;
  gap: 1px;
  margin: 7px 0 0;
  color: #70766d;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .035em;
}
#aj .chameleon-english-demo__credit span:first-child {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .1em;
}
#aj .chameleon-english-demo__content {
  min-width: 0;
  width: 100%;
  margin: 0 auto;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 6px 2px;
  animation: ce-content-in 240ms ease both;
}
#aj .chameleon-english-demo__content h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: var(--ce-green);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: .12em;
}
#aj .chameleon-english-demo__teacher-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin: 0 0 9px;
  color: #4f564c;
  font-size: 15px;
  letter-spacing: -.01em;
  line-height: 1.5;
}
#aj .chameleon-english-demo__sentence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin: 0 0 4px;
  font-size: clamp(15px, 1.2vw, 17px);
  letter-spacing: -.018em;
  line-height: 1.45;
}
#aj .chameleon-english-demo .chameleon-english-demo__speak {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  color: var(--ce-muted);
}
#aj .chameleon-english-demo__speak svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#aj .chameleon-english-demo__question {
  margin-top: 9px;
  padding-top: 10px;
  border-top: 1px solid #e5e7e0;
}
#aj .chameleon-english-demo__answers { display: flex; gap: 21px; }
#aj .chameleon-english-demo__answers button {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 4px;
  color: var(--ce-green);
  font-size: 12px;
  letter-spacing: .12em;
}
#aj .chameleon-english-demo__answers button[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
#aj .chameleon-english-demo__feedback { min-height: 43px; margin-top: 1px; }
#aj .chameleon-english-demo__keywords {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 7px;
  color: var(--ce-green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .05em;
}
#aj .chameleon-english-demo__status {
  min-height: 20px;
  width: min(100%, 1160px);
  margin: 14px auto 0;
  color: var(--ce-muted);
  text-align: center;
  font-size: 11px;
}
@media (max-width: 899px) {
  #aj .chameleon-english-demo__layout { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  #aj .chameleon-english-demo__content { max-width: 560px; max-height: none; overflow: visible; }
  #aj .chameleon-english-demo__media { width: 100%; max-height: none; }
}
@media (max-width: 600px) {
  #aj .chameleon-english-demo { padding: 28px 16px 20px; }
  #aj .chameleon-english-demo__heading { margin-bottom: 20px; }
  #aj .chameleon-english-demo__heading h1 { font-size: clamp(30px, 8vw, 44px); }
  #aj .chameleon-english-demo__heading p { margin-top: 12px; font-size: clamp(14px, 4.1vw, 18px); letter-spacing: -.045em; }
  #aj .chameleon-english-demo__media {
    width: calc(100% + 32px);
    margin-left: -16px;
    aspect-ratio: 1.7917;
  }
  #aj .chameleon-english-demo__poster,
  #aj .chameleon-english-demo__video { object-fit: contain; }
  #aj .chameleon-english-demo__hotspots [data-feature="eyes"] { left: 18%; top: 21.5%; }
  #aj .chameleon-english-demo__hotspots [data-feature="eyes"]::after { height: 12px; left: 65%; }
  #aj .chameleon-english-demo__hotspots [data-feature="tongue"] { left: 14%; top: 45%; }
  #aj .chameleon-english-demo__hotspots [data-feature="scales"] { left: 59%; top: 12%; }
  #aj .chameleon-english-demo__hotspots [data-feature="skin"] { left: 49%; top: 54%; }
  #aj .chameleon-english-demo__hotspots [data-feature="claws"] { left: 72%; top: 57%; }
  #aj .chameleon-english-demo__hotspots [data-feature="tail"] { left: 89%; top: 81%; }
  #aj .chameleon-english-demo__content { padding: 0 3px; }
  #aj .chameleon-english-demo__sentence { font-size: 16px; }
  #aj .chameleon-english-demo__hotspots button {
    min-width: 0;
    min-height: 0;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 650;
  }
}
#aj .chameleon-english-demo__hotspots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}
#aj .chameleon-english-demo__content h2 [role="button"] { cursor: pointer; }
#aj .chameleon-english-demo__content h2 [role="button"]:focus-visible {
  outline: 2px solid var(--ce-green);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  #aj .chameleon-english-demo *,
  #aj .chameleon-english-demo *::before,
  #aj .chameleon-english-demo *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@keyframes ce-content-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

#aj .chameleon-english-demo { margin-inline: auto; }
#aj .chameleon-english-demo, #aj .chameleon-english-demo * { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif; }

#aj .chameleon-english-demo h1, #aj .chameleon-english-demo h2, #aj .chameleon-english-demo h1 *, #aj .chameleon-english-demo h2 * { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif !important; }
#aj .chameleon-english-demo__heading h1 { font-weight: 500 !important; }
#aj .chameleon-english-demo__content h2 { font-weight: 650 !important; }
