#research-question { border-top:1px solid var(--line); }
.rq-heading { margin:0 0 clamp(24px,3vw,40px); }
#research-question .rq-heading h2 { max-width:100%; text-wrap:balance; }
#research-question .rq-heading em { color:var(--clay); }
@media (min-width:801px) {
  #research-question .rq-heading em { display:block; }
}
.rq-heading p { max-width:72ch; margin:16px 0 0; color:var(--body); font:400 clamp(17px,1.3vw,20px)/1.5 var(--sans); }
.rq-example {
  position:relative; display:grid; grid-template-columns:minmax(0,1.96fr) minmax(0,1fr);
  align-items:start; gap:12px clamp(22px,3vw,44px);
}
.rq-example section { min-width:0; }
.rq-example h3 { margin:0 0 12px; color:var(--ink); font:500 clamp(25px,2.1vw,35px)/1.1 var(--serif); letter-spacing:-.035em; }
.rq-example figure { margin:0; min-width:0; }
.rq-example figure img { width:100%; height:auto; display:block; }
.rq-views { display:grid; grid-template-columns:minmax(0,.47fr) minmax(0,1fr); gap:9px; }
.rq-door { position:relative; overflow:hidden; border-radius:4px; background:#202d32; }
.rq-door img { aspect-ratio:16/9; object-fit:cover; }
.rq-first { grid-row:1; }
.rq-middle { grid-row:2; }
.rq-source { grid-column:2; grid-row:1 / 3; align-self:center; }
.rq-door figcaption {
  position:absolute; left:6px; bottom:6px; padding:3px 7px; border-radius:3px;
  background:rgb(22 33 36 / .87); color:white; font:600 clamp(12px,1vw,15px)/1.25 var(--sans);
}
.rq-original { position:relative; }
/* MATCH_QUERY_IMAGE in seed 43 returned [318,208,614,504] in the 1280 × 720 step-13 frame. */
.rq-match {
  position:absolute; left:24.84375%; top:28.88889%; width:23.125%; height:41.11111%;
  color:#ffda79; --corner:min(13px,24%);
  background:
    linear-gradient(currentColor,currentColor) left top / var(--corner) 3px,
    linear-gradient(currentColor,currentColor) right top / var(--corner) 3px,
    linear-gradient(currentColor,currentColor) right bottom / var(--corner) 3px,
    linear-gradient(currentColor,currentColor) left bottom / var(--corner) 3px,
    linear-gradient(currentColor,currentColor) left top / 3px var(--corner),
    linear-gradient(currentColor,currentColor) right top / 3px var(--corner),
    linear-gradient(currentColor,currentColor) right bottom / 3px var(--corner),
    linear-gradient(currentColor,currentColor) left bottom / 3px var(--corner);
  background-repeat:no-repeat; filter:drop-shadow(0 0 1px #243035);
}
.rq-question {
  display:grid; grid-template-columns:minmax(70px,.83fr) minmax(100px,1fr);
  gap:clamp(12px,1.4vw,22px); align-items:center; padding:clamp(12px,1.5vw,24px);
  background:#edf3f1; border-radius:4px; border:1px solid #d4e1db;
}
.rq-patch figcaption { margin-top:6px; color:var(--body); font:510 14px/1.3 var(--sans); }
.rq-response p { margin:0 0 10px; color:var(--ink); font:500 clamp(18px,1.6vw,25px)/1.2 var(--serif); text-wrap:balance; }
.rq-answer { display:inline-block; color:var(--teal); font:650 clamp(17px,1.45vw,22px)/1.2 var(--sans); }
.rq-lure { margin:10px 0 0; max-width:38ch; color:var(--body); font:400 clamp(15px,1.12vw,18px)/1.45 var(--sans); }
.rq-lure em { color:var(--ink); }
.rq-replay { grid-column:1/-1; justify-self:start; padding:6px 2px; color:var(--deep); font:620 15px/1.4 var(--sans); text-underline-offset:3px; }
.rq-replay:hover { text-decoration:underline; }
.rq-replay span { font-size:1.15em; }
.rq-ghost { position:absolute; opacity:0; z-index:2; pointer-events:none; transform-origin:0 0; border:2px solid #ffda79; box-sizing:border-box; }
@media (max-width:800px) {
  .rq-example { grid-template-columns:1fr; gap:18px; }
  .rq-example h3 { margin-bottom:9px; }
  .rq-exit .rq-question { grid-template-columns:minmax(80px,125px) 1fr; }
  .rq-lure { max-width:58ch; }
  .rq-views { gap:6px; }
}
@media (prefers-reduced-motion:no-preference) {
  .rq-waiting .rq-answer,.rq-waiting .rq-match { opacity:0; }
  .rq-playing .rq-door { animation:rq-pass .45s cubic-bezier(.19,.76,.29,1) both; }
  .rq-playing .rq-middle { animation-delay:.18s; }
  .rq-playing .rq-source { animation-delay:.37s; }
  .rq-playing .rq-question { animation:rq-appear .4s .82s ease-out both; }
  .rq-playing .rq-ghost { animation:rq-locate .76s 1.28s cubic-bezier(.42,0,.23,1) both; }
  .rq-playing .rq-match { animation:rq-lock .32s 1.92s ease-out both; }
  .rq-playing .rq-answer { animation:rq-appear .35s 2.06s ease-out both; }
  @keyframes rq-pass { from { opacity:.18; transform:translateX(-10px); } to { opacity:1; transform:none; } }
  @keyframes rq-appear { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
  @keyframes rq-locate {
    0% { opacity:0; transform:translate(0,0) scale(1); }
    16% { opacity:.95; }
    84% { opacity:.85; }
    100% { opacity:0; transform:translate(var(--rq-dx),var(--rq-dy)) scale(var(--rq-scale)); }
  }
  @keyframes rq-lock { from { opacity:0; transform:scale(1.2); } to { opacity:1; transform:scale(1); } }
}
