.miranda-interactivity,
.master-eye-page {
  background: var(--ink);
  color: var(--paper);
}

.interaction-hero {
  position: relative;
  min-height: clamp(39rem, calc(100svh - 7rem), 52rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 234, 215, .045) 1px, transparent 1px) 0 0 / 5rem 5rem,
    radial-gradient(circle at 76% 30%, rgba(232, 163, 30, .2), transparent 28%),
    linear-gradient(135deg, #1b120d, #0f0c09);
}

.interaction-hero:after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -16rem;
  width: 56vw;
  height: 30rem;
  border: 1px solid rgba(244, 234, 215, .15);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.interaction-hero__grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.interaction-hero__copy {
  position: relative;
  z-index: 3;
}

.interaction-hero__copy .eyebrow,
.master-eye-hero .eyebrow {
  color: var(--miriti-2);
}

.interaction-hero__copy h1,
.master-eye-hero h1 {
  font-size: clamp(4.4rem, 8.2vw, 8.2rem);
  line-height: .78;
}

.interaction-hero__copy h1 em,
.master-eye-hero h1 em {
  color: var(--miriti-2);
  font-weight: 500;
}

.interaction-hero__copy .lead {
  color: rgba(244, 234, 215, .78);
}

.interaction-hero__copy .button {
  margin-top: 1.3rem;
}

.interaction-hero__assembly {
  position: relative;
  z-index: 2;
  min-height: 34rem;
}

.assembly-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: .55rem solid var(--paper);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .42);
}

.assembly-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.assembly-photo--one {
  top: 0;
  right: 0;
  width: 75%;
  height: 23rem;
  transform: rotate(2.5deg);
}

.assembly-photo--two {
  bottom: 0;
  left: 0;
  width: 54%;
  height: 19rem;
  transform: rotate(-4deg);
}

.assembly-note {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  z-index: 4;
  color: var(--vinho);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-style: italic;
  line-height: 1;
  transform: rotate(-9deg);
}

.assembly-line {
  position: absolute;
  right: 4%;
  bottom: 3.5rem;
  z-index: 4;
  width: 38%;
  height: 1px;
  background: var(--miriti-2);
  transform: rotate(-11deg);
}

.assembly-mark {
  position: absolute;
  right: 2%;
  bottom: 1.5rem;
  color: var(--miriti-2);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.interaction-deck {
  background: #f7efe0;
  color: var(--ink);
}

.interaction-section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.interaction-section-head h2 {
  max-width: 8ch;
}

.interaction-section-head > p {
  max-width: 54ch;
  margin: 0;
}

.interaction-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: rgba(21, 16, 12, .18);
}

.interaction-card {
  position: relative;
  display: grid;
  grid-template-rows: 24rem 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.interaction-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.interaction-card figure:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21, 16, 12, .58), transparent 48%);
}

.interaction-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}

.interaction-card--river figure img {
  object-position: 50% 47%;
}

.interaction-card figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  left: 1.2rem;
  z-index: 2;
  color: var(--paper);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.interaction-card__body {
  position: relative;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-top: .45rem solid var(--vinho);
}

.interaction-card--river .interaction-card__body {
  border-color: var(--rio);
}

.interaction-card__index {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: rgba(21, 16, 12, .12);
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  font-weight: 600;
  line-height: 1;
}

.interaction-card__body p {
  position: relative;
  z-index: 1;
  margin: 0 0 .5rem;
  color: var(--vinho);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.interaction-card--river .interaction-card__body p {
  color: var(--rio);
}

.interaction-card__body h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.interaction-card__body strong {
  margin-top: 1.5rem;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.interaction-card:hover figure img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.055);
}

.interaction-card:hover .interaction-card__body {
  background: #fffaf1;
}

.interaction-passport {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--vinho);
  color: var(--paper);
}

.interaction-passport .eyebrow {
  color: var(--miriti-2);
}

.interaction-passport h3 {
  margin-bottom: .55rem;
}

.interaction-passport span {
  color: rgba(244, 234, 215, .76);
}

.interaction-passport .button--ghost {
  white-space: nowrap;
}

/* Olho de Mestre */
.master-eye-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(232, 163, 30, .17), transparent 28%),
    repeating-linear-gradient(90deg, rgba(244, 234, 215, .035) 0 1px, transparent 1px 6rem),
    #17100c;
}

.master-eye-hero:after {
  content: "OLHAR · GUARDAR · FAZER";
  position: absolute;
  right: -12rem;
  bottom: 5rem;
  color: rgba(244, 234, 215, .07);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  letter-spacing: .15em;
  white-space: nowrap;
  transform: rotate(-90deg);
}

.master-eye-hero__grid {
  min-height: clamp(36rem, calc(82svh - 3rem), 47rem);
  display: grid;
  grid-template-columns: 1fr minmax(18rem, .55fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.master-eye-hero__grid > div {
  position: relative;
  z-index: 2;
}

.master-eye-hero .lead {
  color: rgba(244, 234, 215, .8);
}

.master-eye-rule {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.4rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(244, 234, 215, .2);
  background: rgba(43, 33, 25, .68);
  box-shadow: 1.2rem 1.2rem 0 rgba(232, 163, 30, .12);
}

.master-eye-rule > span {
  color: var(--miriti-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
}

.master-eye-rule p {
  margin: 0;
  color: rgba(244, 234, 215, .75);
}

.master-eye-rule i {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(244, 234, 215, .16);
}

.master-eye-rule strong {
  grid-column: 1 / -1;
  color: var(--miriti-2);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.master-eye-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #efe2ca;
  color: var(--ink);
}

.game-introduction {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.game-introduction h2 {
  max-width: 8ch;
}

.game-introduction > p {
  max-width: 48ch;
  margin: 0;
}

.master-eye-game {
  overflow: hidden;
  overflow-anchor: none;
  border: 1px solid rgba(21, 16, 12, .22);
  background: #211811;
  color: var(--paper);
  box-shadow: 0 2.5rem 6rem rgba(61, 36, 25, .22);
}

.game-progress {
  min-height: 5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(244, 234, 215, .15);
  background: #17100c;
}

.game-progress p {
  margin: 0;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.game-progress p:last-child {
  text-align: right;
}

.game-progress ol {
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-progress li {
  width: 2.3rem;
  height: .55rem;
  border: 1px solid rgba(244, 234, 215, .38);
}

.game-progress li[aria-current="step"] {
  border-color: var(--miriti);
  background: var(--miriti);
}

.game-progress li[data-complete] {
  border-color: var(--rio-2);
  background: var(--rio-2);
}

.game-phase {
  padding: clamp(1.2rem, 4vw, 3rem);
}

#jogo,
#modo-leitura,
.master-eye-game {
  scroll-margin-top: 7rem;
}

.game-phase[hidden] {
  display: none;
}

.game-phase__heading {
  max-width: 50rem;
  margin-bottom: 1.4rem;
}

.game-phase__heading h3,
.challenge-panel h3,
.game-phase--result > h3 {
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
}

.game-phase__heading > p:last-child {
  max-width: 60ch;
  color: rgba(244, 234, 215, .68);
}

.phase-label {
  margin: 0 0 .6rem;
  color: var(--miriti-2);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.observation-frame {
  margin: 0;
  border: .55rem solid var(--paper);
  background: #0d0a08;
  color: var(--ink);
}

.observation-frame img {
  width: 100%;
  height: clamp(22rem, 53vw, 42rem);
  object-fit: contain;
  background: #17100c;
}

.observation-frame figcaption {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  padding: .7rem .85rem;
  background: var(--paper);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
}

.game-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 234, 215, .42);
  border-radius: 999px;
  padding: .8rem 1.25rem;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.game-button:hover {
  background: rgba(244, 234, 215, .1);
}

.game-button--primary {
  border-color: var(--vinho);
  background: var(--vinho);
  color: white;
}

.game-button--primary:hover {
  background: #7e2020;
}

.game-phase--observe > .game-button {
  margin-top: 1.3rem;
}

.challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(18rem, .78fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.challenge-instruction {
  max-width: 58ch;
  margin: .75rem 0 0;
  color: rgba(244, 234, 215, .68);
}

.question-set {
  display: grid;
  min-height: 31rem;
  margin-top: 1rem;
}

.question-nav {
  display: flex;
  gap: .6rem;
  margin-top: 1.5rem;
}

.question-nav[hidden] {
  display: none;
}

.question-nav button {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(244, 234, 215, .35);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-weight: 700;
}

.question-nav button[aria-current="step"] {
  border-color: var(--miriti);
  background: var(--miriti);
  color: var(--ink);
}

.question-nav button[data-answered]:not([aria-current="step"]) {
  border-color: var(--rio-2);
  box-shadow: inset 0 0 0 3px rgba(63, 174, 147, .2);
}

.question-nav button[data-result="correct"] {
  border-color: var(--rio-2);
}

.question-nav button[data-result="wrong"] {
  border-color: var(--ceu);
}

.question-card {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(244, 234, 215, .2);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: rgba(244, 234, 215, .025);
}

.question-card[data-answered] {
  border-color: rgba(232, 163, 30, .52);
}

.question-card[data-result="correct"] {
  border-color: rgba(63, 174, 147, .72);
}

.question-card[data-result="wrong"] {
  border-color: rgba(217, 140, 63, .72);
}

.question-card legend {
  width: 100%;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .7rem;
  align-items: start;
  padding: 0;
}

.question-card legend > span {
  color: var(--miriti-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  line-height: 1.1;
}

.question-card legend > strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.2;
}

.master-eye-game .memory-panel {
  min-height: 25rem;
  display: grid;
  place-content: center;
  justify-items: center;
  position: sticky;
  top: 7rem;
  padding: 2rem;
  border: 1px dashed rgba(244, 234, 215, .32);
  background:
    repeating-linear-gradient(45deg, rgba(244, 234, 215, .025) 0 1rem, transparent 1rem 2rem),
    #17100c;
  text-align: center;
}

.master-eye-game .memory-panel:before,
.master-eye-game .memory-panel:after {
  content: none;
}

.master-eye-game .memory-panel > span {
  color: var(--miriti-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  line-height: 1;
}

.master-eye-game .memory-panel > p {
  margin: 1rem 0 .2rem;
  color: var(--paper);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.master-eye-game .memory-panel > small {
  color: rgba(244, 234, 215, .6);
}

.master-eye-game .memory-panel.is-revealed {
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: .55rem;
  border-style: solid;
  background: var(--paper);
  color: var(--ink);
}

.master-eye-game .memory-panel.is-revealed figure {
  margin: 0;
}

.master-eye-game .memory-panel.is-revealed img {
  width: 100%;
  max-height: 28rem;
  display: block;
  object-fit: contain;
  background: #17100c;
}

.master-eye-game .memory-panel.is-revealed figcaption {
  padding: .65rem .75rem;
  color: rgba(21, 16, 12, .7);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.answer-list {
  display: grid;
  gap: .55rem;
  margin-top: 1.1rem;
}

.answer-option {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 1.1rem 1.8rem 1fr;
  gap: .7rem;
  align-items: center;
  border: 1px solid rgba(244, 234, 215, .28);
  padding: .85rem 1rem;
  background: rgba(244, 234, 215, .04);
  color: var(--paper);
  cursor: pointer;
  text-align: left;
}

.answer-option:hover {
  border-color: var(--miriti-2);
  background: rgba(244, 234, 215, .09);
}

.answer-option:has(input:focus-visible) {
  outline: 3px solid var(--miriti-2);
  outline-offset: 2px;
}

.answer-option:has(input:checked) {
  border-color: var(--miriti-2);
  background: rgba(232, 163, 30, .12);
}

.answer-option input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--miriti);
}

.answer-marker {
  color: var(--miriti-2);
  font-size: .7rem;
  font-weight: 700;
}

.answer-option:has(input:disabled) {
  cursor: default;
}

.answer-option[data-state="correct"] {
  border-color: var(--rio-2);
  background: rgba(63, 174, 147, .17);
}

.answer-option[data-state="wrong"] {
  border-color: var(--ceu);
  background: rgba(217, 140, 63, .16);
}

.answer-option[data-state="muted"] {
  opacity: .42;
}

.question-feedback {
  margin: 1rem 0 0;
  padding: .15rem 0 .15rem 1rem;
  border-left: 3px solid var(--miriti-2);
}

.question-feedback[hidden] {
  display: none;
}

.question-feedback p {
  margin: 0 0 .3rem;
  color: var(--miriti-2);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.question-feedback span {
  color: rgba(244, 234, 215, .78);
}

.challenge-actions {
  min-height: 3.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.game-button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.memory-panel__summary {
  padding: 1rem .8rem .8rem;
}

.memory-panel__summary > span {
  color: var(--vinho);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.memory-panel__summary h4 {
  margin: .25rem 0;
  color: var(--ink);
  font-size: 2rem;
}

.memory-panel__summary strong {
  display: block;
  margin: .4rem 0 .65rem;
  color: var(--vinho);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.memory-panel__summary p {
  margin: 0;
  color: rgba(21, 16, 12, .72);
  font-family: "Outfit", sans-serif;
  font-size: .88rem;
}

.game-phase--result {
  text-align: center;
}

.result-stamp {
  width: 13rem;
  height: 13rem;
  display: inline-grid;
  place-content: center;
  gap: .25rem;
  margin: 0 auto 2rem;
  border: .35rem double var(--vinho);
  border-radius: 50%;
  color: var(--vinho);
  transform: rotate(-5deg);
}

.result-stamp span,
.result-stamp small {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.result-stamp strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  line-height: 1;
}

.result-score {
  margin: 1.2rem 0 .5rem;
  color: var(--miriti-2);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

.result-message,
.save-status {
  max-width: 48rem;
  margin-inline: auto;
  color: rgba(244, 234, 215, .72);
}

.save-status {
  min-height: 1.5rem;
  color: var(--miriti-2);
  font-size: .85rem;
}

.favorite-choice {
  max-width: 58rem;
  margin: 2.5rem auto 0;
  border: 0;
  padding: 0;
}

.favorite-choice legend {
  width: 100%;
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
}

.favorite-choice > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.favorite-option {
  min-width: 0;
  border: 1px solid rgba(244, 234, 215, .25);
  padding: .4rem;
  background: rgba(244, 234, 215, .04);
  color: var(--paper);
  cursor: pointer;
}

.favorite-option img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.favorite-option span {
  min-height: 3.6rem;
  display: grid;
  place-content: center;
  padding: .5rem;
  font-size: .8rem;
}

.favorite-option[aria-pressed="true"] {
  border-color: var(--miriti-2);
  box-shadow: inset 0 0 0 2px var(--miriti-2);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}

.reading-mode {
  background: #fbf6ef;
  color: var(--ink);
}

.reading-mode__grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.reading-mode__grid h2 {
  color: var(--vinho);
}

.reading-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.reading-item {
  border-bottom: 1px solid var(--line);
}

.reading-item summary {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.reading-item summary:after {
  content: "+";
  color: var(--vinho);
  font-family: "Outfit", sans-serif;
}

.reading-item[open] summary:after {
  content: "−";
}

.reading-item__content {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.25rem;
  padding: 0 0 1.5rem;
}

.reading-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reading-item p {
  margin: 0;
}

body.text-large .master-eye-game,
body.text-large .interaction-deck {
  font-size: 1.12em;
}

body.high-contrast .master-eye-game,
body.high-contrast .interaction-card,
body.high-contrast .master-eye-rule {
  border-color: currentColor;
}

@media (max-width: 979px) {
  .interaction-hero__grid,
  .master-eye-hero__grid {
    grid-template-columns: 1fr;
  }

  .interaction-hero__assembly {
    width: min(100%, 42rem);
    min-height: 30rem;
    margin-inline: auto;
  }

  .master-eye-rule {
    width: min(100%, 38rem);
  }

  .interaction-card {
    grid-template-rows: 20rem 1fr;
  }

  .challenge-layout {
    grid-template-columns: 1fr;
  }

  .memory-panel {
    min-height: 20rem;
    position: static;
  }

  .reading-mode__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .interaction-hero__grid,
  .master-eye-hero__grid {
    padding-block: 3rem;
  }

  .interaction-hero__copy h1,
  .master-eye-hero h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

  .interaction-hero__assembly {
    min-height: 23rem;
  }

  .assembly-photo--one {
    height: 17rem;
  }

  .assembly-photo--two {
    height: 13rem;
  }

  .assembly-note {
    left: 0;
    font-size: 4rem;
  }

  .interaction-section-head,
  .game-introduction,
  .interaction-passport {
    grid-template-columns: 1fr;
  }

  .interaction-card-grid {
    grid-template-columns: 1fr;
  }

  .interaction-card {
    grid-template-rows: 17rem 1fr;
  }

  .interaction-card__body {
    min-height: 15rem;
  }

  .interaction-passport .button {
    justify-self: start;
  }

  .game-progress {
    grid-template-columns: 1fr 1fr;
  }

  .game-progress ol {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }

  .observation-frame img {
    height: min(58svh, 28rem);
  }

  .challenge-panel h3 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .question-card legend {
    grid-template-columns: 2rem 1fr;
  }

  .answer-option {
    grid-template-columns: 1.1rem 1.5rem 1fr;
  }

  .favorite-choice > div {
    grid-template-columns: 1fr;
  }

  .favorite-option {
    display: grid;
    grid-template-columns: 8rem 1fr;
    align-items: center;
  }

  .favorite-option img {
    height: 100%;
  }

  .reading-item__content {
    grid-template-columns: 1fr;
  }

  .reading-item img {
    max-height: 22rem;
    object-fit: contain;
    background: var(--ink);
  }
}

@media (max-width: 420px) {
  .interaction-hero__assembly {
    min-height: 19rem;
  }

  .assembly-photo--one {
    width: 82%;
    height: 14rem;
  }

  .assembly-photo--two {
    width: 60%;
    height: 10rem;
  }

  .master-eye-rule {
    padding: 1.25rem;
  }

  .master-eye-rule > span {
    font-size: 3rem;
  }

  .game-phase {
    padding: 1rem;
  }

  .game-progress {
    padding-inline: .8rem;
  }

  .answer-option {
    padding-inline: .75rem;
  }

  .question-card {
    padding: .9rem;
  }

  .question-set {
    min-height: 35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interaction-card figure img,
  .interaction-card:hover figure img {
    transition: none;
    transform: none;
  }
}

/* Olho de Mestre: observação ampliável e transições sem pressão de tempo. */
.observation-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.observation-tools > span { max-width: 40ch; font-size: .8rem; color: var(--paper-2); line-height: 1.6; }
.observation-tools .game-button:disabled { opacity: .55; cursor: wait; }
.observation-viewer { width: min(68rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100svh - 2rem); margin: auto; padding: 1.25rem; border: 1px solid var(--miriti); border-radius: .5rem; background: #211811; color: var(--paper); overflow: auto; }
.observation-viewer::backdrop { background: rgba(15,12,9,.85); backdrop-filter: blur(3px); }
.observation-viewer__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.observation-viewer__header h3 { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.1; }
.observation-viewer__tools { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; padding-block: .75rem; border-top: 1px solid #f4ead733; }
.observation-viewer__tools label { display: flex; align-items: center; gap: .8rem; font-size: .8rem; }
.observation-viewer__tools input { width: clamp(6rem, 20vw, 14rem); accent-color: var(--miriti); }
.observation-viewer__tools output { min-width: 3.1rem; font-size: .8rem; color: var(--miriti-2); }
.observation-viewer__tools .game-button { min-width: 44px; padding: .6rem .85rem; font-size: .75rem; }
.observation-viewer__scroll { overflow: auto; height: 52svh; background: #0d0a08; overscroll-behavior: contain; border: 1px solid #f4ead733; }
.observation-viewer__canvas { width: calc(100% * var(--observation-zoom, 1)); height: calc(52svh * var(--observation-zoom, 1)); }
.observation-viewer__canvas img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.observation-viewer__caption { margin: .8rem 0 0; font-size: .8rem; line-height: 1.6; color: var(--paper-2); }
.round-feedback { margin: 0 0 1.2rem; padding: .8rem 1rem; border-left: 3px solid var(--miriti); background: rgba(232,163,30,.09); color: var(--paper); font-size: .85rem; line-height: 1.65; }
.round-feedback[hidden], .favorite-detail[hidden] { display: none; }
.favorite-detail { max-width: 48rem; margin: 1.5rem auto 0; text-align: left; border: 1px solid #f4ead744; background: #17100c; }
.favorite-detail figure { margin: 0; }
.favorite-detail img { width: 100%; height: clamp(14rem, 35vw, 28rem); object-fit: contain; }
.favorite-detail figcaption { padding: .8rem 1rem; font-size: .8rem; color: var(--miriti-2); }
.favorite-detail > p { margin: 0; padding: 0 1rem 1rem; font-size: .9rem; color: var(--paper-2); line-height: 1.7; }
.master-eye-game .game-phase:not([hidden]) { animation: eye-phase-enter .22s ease-out; }
.master-eye-game .game-progress li { transition: background-color .3s, border-color .3s; }
.master-eye-game .answer-option { transition: border-color .18s, background-color .18s; }
.master-eye-game .answer-option:has(input:checked) .answer-marker { animation: eye-choice-mark .22s ease-out; }
.master-eye-game .memory-panel.is-revealed, .master-eye-game .favorite-detail:not([hidden]) { animation: eye-photo-reveal .3s ease-out; }
.master-eye-game .result-stamp { animation: eye-stamp .35s ease-out; }
@keyframes eye-phase-enter { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes eye-choice-mark { 50% { transform: scale(1.14); } }
@keyframes eye-photo-reveal { from { opacity: .3; } to { opacity: 1; } }
@keyframes eye-stamp { from { opacity: 0; transform: rotate(-9deg) scale(1.07); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }
@media (max-width: 480px) {
  .observation-viewer { width: calc(100vw - 1rem); max-height: calc(100svh - 1rem); padding: .75rem; }
  .observation-viewer__header .game-button { padding: .65rem .75rem; font-size: .6rem; }
  .observation-viewer__tools { gap: .4rem; }
  .observation-viewer__tools label { gap: .4rem; }
  .observation-viewer__tools input { width: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .master-eye-game *, .master-eye-game *::before, .master-eye-game *::after { animation: none !important; transition: none !important; }
}
html.a11y-reduced-motion .master-eye-game * { animation: none !important; transition: none !important; }
