/* Download page: "How to start" tour, lightbox, setup/zip alternatives. */

.tour-intro { margin: -4px 0 16px; }

.tour-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
@media (max-width: 720px) {
    .tour-grid { grid-template-columns: 1fr; }
}

.tour-card { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tour-card figcaption { display: flex; flex-direction: column; gap: 3px; line-height: 1.45; }
.tour-card figcaption b { color: var(--text); font-family: var(--font-head); font-weight: 600; }

.tour-shot {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background:
        radial-gradient(60% 70% at 50% 40%, rgba(143, 123, 255, 0.14), transparent 70%),
        #0b0a10;
    cursor: zoom-in;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s, transform 0.2s;
}
.tour-shot:hover, .tour-shot:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.tour-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour-no {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(9, 9, 14, 0.82);
    border: 1px solid rgba(143, 123, 255, 0.55);
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
}
/* No screenshot yet: the emblem on the dark veil instead of a broken image. */
.tour-shot.missing { cursor: default; }
.tour-shot.missing:hover { transform: none; border-color: var(--line); }
.tour-shot.missing img { display: none; }
.tour-shot.missing::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/brand/emblem.png") center / 22% no-repeat;
    opacity: 0.55;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: rgba(5, 5, 9, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: min(1600px, 100%);
    max-height: calc(100vh - 120px);
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-caption { color: var(--text-dim, #b9b6c9); text-align: center; max-width: 900px; }
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.dl-alt { margin: 10px 0 4px; font-size: 0.92rem; }
.dl-alt a { margin-left: 6px; }
