/* A Night Walk: The Moor Road (v1.175.0). Prefixed .nwk- */
.nwk { text-align: center; }
.nwk .dwx-row { justify-content: center; }
.nwk-promise { color: var(--dw-muted); }
.nwk-canvas { display: block; width: 100%; max-width: 680px; aspect-ratio: 16 / 9; height: auto; margin: 0 auto; border-radius: 16px; border: 1px solid var(--dw-line-strong); background: #0a0f26; }
.nwk-line { min-height: 3.2em; max-width: 30em; margin: 1em auto .2em; color: var(--dw-cream); font-size: 1.1rem; line-height: 1.6; }
.nwk-far { min-height: 1.4em; margin: 0 0 1em; color: var(--dw-muted); font-size: 13px; letter-spacing: .06em; }
.nwk-note { color: var(--dw-muted); font-size: 14px; text-align: left; }

/* Choosing the way: a straight path or a meandering one (v1.168.0) */
.nwk-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 1.4em auto 0; }
.nwk-way { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 16px 20px; border-radius: 16px; border: 1px solid var(--dw-line-strong); background: rgba(255,255,255,.03); color: var(--dw-cream); font: inherit; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.nwk-way:hover, .nwk-way:focus-visible { border-color: var(--dw-gold, #d9b56d); background: rgba(255,255,255,.07); transform: translateY(-2px); outline: none; }
.nwk-way strong { font-size: 1.08rem; font-weight: 600; }
.nwk-way span:last-child { color: var(--dw-muted); font-size: 14px; line-height: 1.5; }
.nwk-way-pic { display: block; width: 100%; max-width: 200px; aspect-ratio: 16 / 9; border-radius: 10px; background-color: #0a0f26; background-repeat: no-repeat; background-position: center; background-size: cover; }
.nwk-way-straight { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Crect width='160' height='90' fill='%230a0f26'/%3E%3Crect y='40' width='160' height='50' fill='%23111833'/%3E%3Cpath d='M78 40 L82 40 L128 90 L32 90 Z' fill='%23d9c8a0' fill-opacity='.38'/%3E%3Ccircle cx='126' cy='16' r='5' fill='%23e8e8dc'/%3E%3C/svg%3E"); }
.nwk-way-meander { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Crect width='160' height='90' fill='%230a0f26'/%3E%3Crect y='40' width='160' height='50' fill='%23111833'/%3E%3Cpath d='M104 40 L107 40 C96 50 62 54 70 64 C80 76 122 78 128 90 L32 90 C40 78 52 74 50 64 C48 54 92 50 104 40 Z' fill='%23d9c8a0' fill-opacity='.38'/%3E%3Ccircle cx='126' cy='16' r='5' fill='%23e8e8dc'/%3E%3C/svg%3E"); }
.nwk-way-journey { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Crect width='160' height='90' fill='%230a0f26'/%3E%3Crect y='40' width='160' height='50' fill='%23111833'/%3E%3Cpath d='M44 40 L48 40 C56 50 74 58 88 66 C100 74 120 82 128 90 L32 90 C40 78 60 70 62 62 C62 54 50 48 44 40 Z' fill='%23d9c8a0' fill-opacity='.38'/%3E%3Cpath d='M118 40 L122 40 C112 50 100 58 92 68 L74 62 C88 56 108 50 118 40 Z' fill='%23d9c8a0' fill-opacity='.38'/%3E%3Ccircle cx='126' cy='16' r='5' fill='%23e8e8dc'/%3E%3C/svg%3E"); }
@media (max-width: 720px) { .nwk-ways { grid-template-columns: 1fr; max-width: 340px; } }
@media (prefers-reduced-motion: reduce) { .nwk-way { transition: none; } .nwk-way:hover, .nwk-way:focus-visible { transform: none; } }
.nwk-pace { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 1.2em auto 0; }
.nwk-pace-label { color: var(--dw-muted); font-size: 14px; margin-right: 6px; }
.nwk-pace-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--dw-line-strong); background: transparent; color: var(--dw-cream); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.nwk-pace-btn:hover, .nwk-pace-btn:focus-visible { border-color: var(--dw-gold, #d9b56d); outline: none; }
.nwk-pace-btn[aria-pressed="true"] { border-color: var(--dw-gold, #d9b56d); background: rgba(217,181,109,.14); }

/* The walk's text sits centred: the shared .dwx-app p reset would otherwise zero the auto margins. */
.dwx-app .nwk .nwk-line { margin: 1em auto .2em; text-align: center; }
.dwx-app .nwk .nwk-far { margin: 0 auto 1em; text-align: center; }

/* Full screen: the animated scene covers the whole layer, edge to edge. The words and buttons sit over its bottom edge. */
.dwx-app.is-full .dwx-card:has(.nwk-walking) { background: none; border: 0; box-shadow: none; padding: 0; }
/* The theme caps full-screen content at 1100px; the walk has no cap, so its scene reaches both edges. */
.dw-fs-layer > .dwx-app.is-full:has(.nwk-walking) { max-width: none; margin: 0; width: 100%; }
.dwx-app.is-full .dwx-pad.nwk-walking { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 16px 28px; overflow: hidden; }
.dwx-app.is-full .nwk-walking .nwk-canvas { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; margin: 0; border: 0; border-radius: 0; }
.dwx-app.is-full .nwk-walking::before { content: ''; position: fixed; left: 0; right: 0; bottom: 0; height: 46vh; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(1,15,42,.88), rgba(1,15,42,0)); }
.dwx-app.is-full .nwk-walking > :not(.nwk-canvas) { position: relative; z-index: 2; width: 100%; flex: 0 0 auto; }
.dwx-app.is-full .nwk-walking .nwk-line { min-height: 0; margin: .6em auto .2em; }
