.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

body.intro .stage {
  grid-template-rows: auto 1fr auto auto;
  max-width: 1200px;
}

.wall { position: relative; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.panes { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.pane-v { min-width: 0; opacity: 0.72; transition: opacity 0.4s; }
.pane-v.is-active { opacity: 1; }
.code { font-size: 12.5px; line-height: 19px; white-space: pre; overflow: hidden; }
.vl { display: flex; gap: 14px; }
.vl.is-row { background: var(--line); }
.num { color: var(--dim); opacity: 0.6; flex: none; }
.vl.is-row .num { color: var(--fg); opacity: 1; }
.txt { overflow: hidden; text-overflow: clip; }
.txt .k { color: var(--kw); }
.txt .s { color: var(--str); }
.txt .n { color: var(--num); }
.txt .f { color: var(--fn); }
.txt .t { color: var(--accent); }
.txt .c { color: var(--dim); font-style: italic; }
.txt .w { color: var(--fg); opacity: 0.82; }
.txt .p { color: var(--dim); }
.cursor { background: var(--fg); color: var(--bg); }
.cursor.is-insert { background: none; color: inherit; box-shadow: inset 2px 0 var(--fg); }
.vstatus { display: flex; margin: 4px 0 0; background: var(--line); white-space: nowrap; overflow: hidden; }
.vstatus > span { padding: 0 10px; }
.vmode { background: var(--fg); color: var(--bg); font-weight: 600; }
.vmode.is-insert { background: var(--accent); }
.vpath { flex: 1; overflow: hidden; text-overflow: ellipsis; color: var(--fg); }
.vpos { color: var(--dim); }
.intro-cmd { min-height: 20px; margin: 2px 0 0; color: var(--fg); }

.wall .eye {
  position: absolute;
  top: 2%;
  left: 18%;
  pointer-events: none;
  filter: drop-shadow(0 0 6px var(--bg)) drop-shadow(0 0 2px var(--bg));
}

/* keyboard */
.keys { display: grid; justify-items: center; gap: 6px; padding: 10px 0 4px; color: var(--dim); user-select: none; }
.key-row { display: flex; gap: 10px; }
.key { min-width: 1.6ch; text-align: center; font-size: 12px; opacity: 0.55; transition: color 0.12s, opacity 0.12s, transform 0.12s; }
.key-space { width: 22ch; height: 1px; margin-top: 8px; background: var(--dim); }
.key.hit { color: var(--fg); opacity: 1; transform: translateY(1px); }
.key.you { color: var(--accent); opacity: 1; transform: translateY(2px); }
.key-space.hit, .key-space.you { background: var(--accent); }

/* footer */
.intro-foot { display: flex; align-items: center; gap: 20px; }
.note { margin: 0; flex: 1; color: var(--fg); }
.theme-key { color: var(--chrome); }
.theme-key:hover { color: var(--fg); }
.enter { padding: 1px 12px; background: var(--fg); color: var(--bg); }
.enter:hover { background: var(--accent); text-decoration: none; }

@media (max-width: 900px) {
  .panes { grid-template-columns: 1fr; }
  .pane-v + .pane-v { display: none; }
  .wall .eye { left: auto; right: 0; }
}
@media (max-width: 700px) {
  body.intro { overflow: auto; }
  .keys { display: none; }
  .code { font-size: 11px; line-height: 17px; }
  .wall .eye { transform: scale(0.7); transform-origin: top right; }
  .note { font-size: 12px; }
}

body.intro .links { margin-left: auto; }
