/* Sistemas do jogo: one block per system that scrolls with the page (js/tour.js), the game's own window on the right
   (js/showcase.js), the pinned medallion rail on the left. Phones: one column, no rail. */
.tour { margin-top: 64px; }
.tour-head { text-align: center; }
.tour-head h2 { margin: 0; font: 700 clamp(30px, 3.4vw, 42px)/1.15 var(--body); color: var(--gold); text-shadow: 0 2px 0 #000; }
.tour-head p { margin: 8px auto 0; color: #cdbf9f; max-width: 60ch; font-size: 18px; }
/* The windows are not clipped (item boxes may leave them): the section clips only its sides, and the block under the
   mouse sits above its neighbours. */
.tour-body { width: min(1360px, 100%); margin: 26px auto 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 30px; overflow-x: clip; }
.tour-rail { position: sticky; top: calc(50vh - 250px); align-self: start; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.tour-rail::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--rim-dark), var(--rim), var(--rim-dark)); }
.tour-rail li { position: relative; }
.tour-rail button { width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; opacity: .45; filter: grayscale(.7); transition: opacity .3s, filter .3s, transform .3s, box-shadow .3s; }
.tour-rail button img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.tour-rail button[aria-current="step"] { opacity: 1; filter: none; transform: scale(1.18); box-shadow: 0 0 0 2px var(--gold-hi), 0 0 18px rgba(255, 190, 90, .45); }
.tour-rail button:hover { opacity: .9; filter: none; }
.tour-item { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 44px; align-items: center; padding-block: 11vh; }
.tour-item:first-child { padding-top: 0; }
.tour-item:hover, .tour-item:focus-within { z-index: 3; }
.tour-text, .tour-pic { will-change: transform, opacity; }
.tour-text .count { color: var(--ember); font: 700 14px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.tour-text h3 { display: flex; align-items: center; gap: 14px; margin: 12px 0 10px; font: 700 clamp(30px, 3vw, 42px)/1.1 var(--body); color: #f4e4bd; text-shadow: 0 2px 0 #000; }
.tour-text h3 img { width: 62px; height: 62px; border-radius: 50%; flex: none; }
.tour-text .lead { margin: 0 0 16px; color: #e6dac3; font-size: 21px; line-height: 1.45; }
.tour-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tour-text li { position: relative; padding-left: 24px; color: #d6caB3; font-size: 18px; line-height: 1.45; }
.tour-text li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 6px rgba(255, 200, 100, .5); }
.tour-text li b { color: var(--title); font-weight: 700; }
.tour-text .key { display: inline-block; margin-top: 16px; color: var(--muted); font-size: 16px; }
.tour-text .key kbd { display: inline-block; min-width: 24px; padding: 1px 7px; margin: 0 2px; border: 1px solid var(--rim); border-radius: 3px; background: #1b1814; color: var(--gold-hi); font: 700 14px/1.4 var(--body); text-align: center; }
.sc-host { width: 100%; }
@media (max-width: 860px) {
  .tour-body { grid-template-columns: minmax(0, 1fr); }
  .tour-rail { display: none; }
  .tour-item { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 34px; }
  .tour-text h3 img { width: 50px; height: 50px; }
  .tour-text .lead { font-size: 19px; }
  .tour-text li { font-size: 17px; }
}

/* Brilho do aging: the turning character on a dark stage in the site's rim. */
.glow-stage { position: relative; width: 100%; max-width: 780px; aspect-ratio: 1120 / 650; margin-inline: auto; overflow: hidden;
  background: radial-gradient(ellipse 46% 58% at 50% 60%, #2b1d36 0%, #140e18 52%, #060507 100%);
  border: 1px solid var(--rim); box-shadow: inset 0 0 0 1px #0d0b09, inset 0 0 0 2px var(--rim-dark), 0 10px 30px #000c; }
.glow-frame { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; pointer-events: none; }
