/* Encounters list, welcome screen and unlock sheet. Cards reuse the Bible-studies card/grid
   classes (discovery.css); only what is specific to Encounters lives here. Logical properties keep
   the layout correct in right-to-left languages. */

/* The app's gold (goldAccent, goldShine and the text on gold). */
:root {
    --gold: #d9a62e;
    --gold-shine: #fff3c4;
    --open-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M18 8H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3Cpath d='M7 8V6c0-2.76 2.24-5 5-5 2.3 0 4.2 1.5 4.8 3.6l-1.9.6C14.5 3.8 13.4 2.9 12 2.9 10.3 2.9 8.9 4.3 8.9 6v2z'/%3E%3C/svg%3E");
    --gold-ink: #3e2a00;
}

.encounter-card .study-card-open {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    padding-inline-end: 0;
    overflow: hidden;
}

.encounter-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    border-radius: 0.75rem;
    overflow: hidden;
}

.encounter-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background-color: var(--accent-soft);
    overflow: hidden;
}

.encounter-card-media img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

.encounter-card-media img[hidden] {
    display: none;
}

.encounter-card .study-card-emoji {
    font-size: 2.5rem;
}

.encounter-card .study-card-body {
    padding: 0.75rem 1rem 1rem;
}

.encounter-badge {
    position: absolute;
    inset-block-start: 0.5rem;
    inset-inline-end: 0.5rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: none;
    background: var(--accent);
    color: var(--bg);
}

.encounter-card--open .encounter-badge {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.encounter-card--coming-soon .encounter-badge {
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.encounter-card-hint,
.encounter-card-release {
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 0.5rem 0 0;
    overflow-wrap: anywhere;
}

/* Locked: a dark overlay on the artwork (the app's locked overlay): lock, "Complete X to unlock", and on the next one the pill. */
.encounter-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    text-align: center;
}

/* The app's gold padlock (Material lock shape), drawn as a gold-filled mask. Muted gold on the others,
   bright gold with a glow on the next one. */
.encounter-lock-icon {
    display: block;
    inline-size: 3.5rem;
    block-size: 3.5rem;
    background: linear-gradient(180deg, #e9d49a 0%, #b8862a 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.encounter-card--next-locked .encounter-lock-icon {
    background: linear-gradient(180deg, var(--gold-shine) 0%, var(--gold) 100%);
    filter: drop-shadow(0 0 10px rgba(217, 166, 46, 0.7)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.encounter-lock-overlay .encounter-card-hint {
    margin: 0;
    max-inline-size: 90%;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

.encounter-card--coming-soon {
    opacity: 0.6;
    cursor: default;
}

/* The next locked encounter: the app's gold read-now pill, under the "Complete to access" line. */
.encounter-unlock-pill {
    display: inline-block;
    margin-block-start: 0.625rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--gold) 0%, var(--gold-shine) 50%, var(--gold) 100%);
    background-size: 200% 100%;
    color: var(--gold-ink);
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.3;
    box-shadow: 0 0 14px rgba(217, 166, 46, 0.75), 0 0 4px rgba(255, 243, 196, 0.9);
    animation: encounter-gold-shine 2.4s linear infinite;
}

.encounter-card--next-locked {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 18px rgba(217, 166, 46, 0.45);
}

.encounter-card.is-just-unlocked {
    animation: encounter-unlock 1.4s ease-out 1;
    overflow: visible; /* the single-unlock pill sits outside the card; the bulk sweep stays inside */
}

@keyframes encounter-unlock {
    0% {
        box-shadow: 0 0 0 0 var(--accent);
        transform: scale(0.97);
    }

    60% {
        box-shadow: 0 0 0 10px transparent;
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

/* First-visit welcome: full screen, same look as the app's EncounterWelcomePage. */
.encounter-welcome {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #0a0e1a;
    color: #fff;
    overflow: hidden;
}

.encounter-welcome-image {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: top center;
    animation: encounter-fade 0.9s ease-in both;
}

.encounter-welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(10, 14, 26, 0.92) 62%,
        #0a0e1a 100%
    );
}

.encounter-welcome-content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    max-inline-size: 40rem;
    inline-size: 100%;
    margin-inline: auto;
    padding: 2rem 2rem calc(3rem + env(safe-area-inset-bottom));
    animation: encounter-rise 1.2s ease-out 0.7s both;
}

.encounter-welcome-title {
    margin: 0;
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.encounter-welcome-line {
    display: block;
    margin-block-end: 0.5rem;
}

.encounter-welcome-line--gold {
    color: #ffd700;
}

.encounter-welcome-subtitle {
    margin: 1.25rem 0 3rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.5;
}

.encounter-welcome-begin {
    inline-size: 100%;
    min-block-size: 4.5rem;
    border: 0;
    border-radius: 1.5rem;
    cursor: pointer;
    color: #0a0e1a;
    font: inherit;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.125em;
    text-transform: uppercase;
    background: linear-gradient(to right, #b8860b, #ffd700 25%, #ffffe0 50%, #ffd700 75%, #b8860b);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.6), 0 0 12px 4px rgba(255, 215, 0, 0.3);
}

.encounter-welcome-begin:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@keyframes encounter-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes encounter-rise {
    from {
        opacity: 0;
        transform: translateY(8%);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Unlock sheet: bottom sheet on phones, centred dialog on wider screens. */
.encounter-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

/* Compact: the list stays visible above the sheet, so the learner can still see the encounter they are on. */
.encounter-sheet {
    inline-size: 100%;
    max-inline-size: 32rem;
    max-block-size: 70dvh;
    overflow-y: auto;
    background: var(--surface);
    color: var(--text);
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
}

.encounter-sheet-title {
    margin: 0 0 0.75rem;
    font-size: 1.375rem;
    font-weight: 900;
    text-align: center;
}

.encounter-sheet-body {
    margin: 0 0 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: center;
}

/* Like the app: the gold action full width on top, "Keep reading in order" centred below it. */
.encounter-sheet-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-block-start: 1.25rem;
}

/* PayPal buttons and their note take the full row under the actions. */
.encounter-sheet-note {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.875rem;
    text-align: center;
    color: var(--text-muted);
}

.encounter-paypal {
    flex: 1 1 100%;
    min-block-size: 3rem;
}

.encounter-sheet-keep,
.encounter-sheet-play,
.encounter-sheet-support {
    min-block-size: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

/* "Keep reading in order" is the quiet secondary action, like the app's text button. */
.encounter-sheet .encounter-sheet-keep {
    flex: 0 0 auto;
    align-self: center;
    min-block-size: 2.75rem;
    padding: 0.5rem 0.75rem;
    background: none;
    color: var(--text-muted);
    border: 0;
    box-shadow: none;
    font-weight: 600;
}

/* Focus on open is shown as an underline, not the site-wide box outline. */
.encounter-sheet .encounter-sheet-keep:focus {
    outline: none;
    text-decoration: underline;
}

.encounter-sheet-play,
.encounter-sheet-support {
    background: none;
    color: var(--accent);
    border: 1px solid var(--accent);
}

/* Primary action: the app's gold shimmer pill (goldAccent #D9A62E, goldShine #FFF3C4, text #3E2A00). */
.encounter-sheet-support {
    flex: 0 0 auto;
    min-block-size: 3rem;
    border: 0;
    border-radius: 999px;
    color: var(--gold-ink);
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(100deg, var(--gold) 0%, var(--gold-shine) 45%, var(--gold) 90%);
    background-size: 200% 100%;
    box-shadow: 0 6px 18px rgba(217, 166, 46, 0.35);
    animation: encounter-gold-shine 2.4s linear infinite;
}

@keyframes encounter-gold-shine {
        from {
        background-position: 100% 0;
    }

        to {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .encounter-unlock-pill,
    .encounter-sheet-support {
        animation: none;
    }
}

@media (width >= 560px) {
    .encounter-sheet-backdrop {
        align-items: center;
    }

    .encounter-sheet {
        border-radius: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .encounter-card.is-just-unlocked,
    .encounter-welcome-image,
    .encounter-welcome-content,
    .encounter-intro {
        animation: none;
    }
}

/* Reader: intro (C0), pages, progress, paging and the completion footer. Text colours come from the
   theme tokens so light and dark both work. */

.encounter-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-block: 1rem 2rem;
    animation: encounter-rise 0.4s ease-out both;
}

.encounter-intro-back {
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.encounter-intro-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--accent-soft);
    display: grid;
    place-items: center;
}

.encounter-intro-media .encounter-card-image {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

.encounter-card-image[hidden] {
    display: none;
}

.encounter-intro-emoji {
    font-size: 3rem;
}

.encounter-intro-title {
    margin: 0;
    font-size: 1.75rem;
    color: var(--text);
}

.encounter-intro-subtitle,
.encounter-intro-scripture {
    margin: 0;
    color: var(--text-muted);
}

.encounter-intro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.encounter-chip {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--text);
    background-color: var(--accent-soft);
}

.encounter-intro-enter,
.encounter-complete,
.encounter-exit {
    min-block-size: 3.25rem;
    padding-inline: 1.5rem;
    border: 0;
    border-radius: 1.5rem;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0a0e1a;
    background: var(--accent);
}

.encounter-pages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem 2rem;
}

.encounter-page {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text);
}

.encounter-page-title {
    margin: 0;
    font-size: 1.5rem;
}

.encounter-page-subtitle,
.encounter-verse-ref,
.encounter-question-category,
.encounter-prayer-title,
.encounter-keyverse-label {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.encounter-page .encounter-card-image {
    inline-size: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

.encounter-narrative,
.encounter-content,
.encounter-reflection,
.encounter-prayer-text,
.encounter-verse-text,
.encounter-question-text {
    margin: 0;
    line-height: 1.6;
}

.encounter-verse,
.encounter-completion-verse,
.encounter-prayer,
.encounter-question {
    padding: 0.75rem 1rem;
    border-inline-start: 3px solid var(--accent);
    border-radius: 0.5rem;
    background-color: var(--accent-soft);
}

.encounter-revelation {
    margin: 0;
    font-style: italic;
    color: var(--text-muted);
}

.encounter-page--keyverse {
    padding: 2rem 1rem;
    text-align: center;
}

.encounter-keyverse-text {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;
}

.encounter-keyverse-ref {
    margin: 0;
    color: var(--text-muted);
}

.encounter-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.encounter-prev,
.encounter-next {
    min-inline-size: 3rem;
    min-block-size: 3rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.encounter-prev[disabled] {
    opacity: 0.4;
    cursor: default;
}

.encounter-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-block: 1rem;
}

.encounter-complete[disabled] {
    opacity: 0.6;
    cursor: default;
}

.encounter-copyright {
    margin: 0;
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-muted);
}

.encounter-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-block: 3rem;
    color: var(--text);
    text-align: center;
}

.encounter-back,
.encounter-retry {
    min-block-size: 2.75rem;
    padding-inline: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.encounter-page--completion .encounter-completion-verse {
    font-size: 1.1rem;
}

/* Keyboard focus for every reader control (kept last so it wins over the base rules). */
.encounter-intro-enter:focus-visible,
.encounter-complete:focus-visible,
.encounter-exit:focus-visible,
.encounter-prev:focus-visible,
.encounter-next:focus-visible,
.encounter-intro-back:focus-visible,
.encounter-back:focus-visible,
.encounter-retry:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ---- Unlock feedback ------------------------------------------------------------------------------
   Single unlock (is-just-unlocked): a gold open padlock over the artwork, then the padlock and the
   "New encounter unlocked" pill (data-unlock-label) fade out, leaving the plain open card.
   Unlock all (is-bulk-unlocked): every newly open card plays the same padlock with a staggered sweep,
   with no pill. While the thank-you pass is open the sweep is paused behind it. Reduced motion hides
   these transient layers entirely, so no static pill is left behind. */
.encounter-card.is-just-unlocked,
.encounter-card.is-bulk-unlocked {
    position: relative;
}

.encounter-card.is-just-unlocked .encounter-card-media,
.encounter-card.is-bulk-unlocked {
    overflow: hidden; /* keeps the staggered sweep inside the card */
}

.encounter-card.is-bulk-unlocked .encounter-card-media {
    position: relative;
}

.encounter-card.is-just-unlocked .encounter-card-media::after,
.encounter-card.is-bulk-unlocked .encounter-card-media::after {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    inline-size: 3.5rem;
    block-size: 3.5rem;
    translate: -50% -50%;
    background: linear-gradient(180deg, var(--gold-shine) 0%, var(--gold) 100%);
    filter: drop-shadow(0 0 10px rgba(217, 166, 46, 0.8));
    mask: var(--open-lock) center / contain no-repeat;
    opacity: 0;
    animation: encounter-flash-lock 2.6s ease-out both;
}

.encounter-card.is-just-unlocked::after {
    content: attr(data-unlock-label);
    position: absolute;
    inset-block-start: -0.6rem;
    inset-inline-end: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--gold);
    color: #2a1d00;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    animation: encounter-flash-pill 2.6s ease-out both;
}

.encounter-card.is-bulk-unlocked .encounter-card-media::after {
    animation-delay: var(--sweep-delay, 0s);
}

.encounter-card.is-bulk-unlocked::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 170, 0.4) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: encounter-card-sweep 1.1s ease-in-out var(--sweep-delay, 0s) both;
}

.encounter-card.is-bulk-unlocked:nth-child(2) {
    --sweep-delay: 0.28s;
}

.encounter-card.is-bulk-unlocked:nth-child(3) {
    --sweep-delay: 0.56s;
}

.encounter-card.is-bulk-unlocked:nth-child(4) {
    --sweep-delay: 0.84s;
}

.encounter-card.is-bulk-unlocked:nth-child(5) {
    --sweep-delay: 1.12s;
}

.encounter-card.is-bulk-unlocked:nth-child(n + 6) {
    --sweep-delay: 1.4s;
}

body:has(.encounter-pass) .encounter-card.is-bulk-unlocked,
body:has(.encounter-pass) .encounter-card.is-bulk-unlocked::after,
body:has(.encounter-pass) .encounter-card.is-bulk-unlocked .encounter-card-media::after {
    animation-play-state: paused;
}

@keyframes encounter-flash-lock {
        0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }

        20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

        45% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

        100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@keyframes encounter-flash-pill {
        0%, 70% {
        opacity: 1;
    }

        100% {
        opacity: 0;
    }
}

@keyframes encounter-bulk-sweep {
    to {
        transform: translateX(120%);
    }
}

/* Card sweep: fades out as it leaves, so the resting card never shows a leftover streak. */
@keyframes encounter-card-sweep {
    0% {
        transform: translateX(-120%);
        opacity: 1;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Completed on the completion card: the gold badge pops in. */
.encounter-complete--pop {
    animation: encounter-complete-pop 0.7s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

@keyframes encounter-complete-pop {
        from {
        transform: scale(0.6);
        opacity: 0;
    }

        to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Thank-you pass after a PayPal unlock: a modal dialog over the page. */
.encounter-pass {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
    background: radial-gradient(circle at 50% 45%, rgba(242, 193, 78, 0.28), rgba(11, 16, 32, 0.96) 62%);
    animation: encounter-pass-fade 0.4s ease-out both;
}

.encounter-pass-card {
    position: relative;
    inline-size: min(100%, 22rem);
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    border: 1px solid var(--gold);
    background: linear-gradient(145deg, #2b2208, #14100a 55%, #2b2208);
    text-align: center;
    overflow: hidden;
    animation: encounter-pass-in 0.8s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.encounter-pass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 170, 0.35) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: encounter-bulk-sweep 2.2s ease-in-out 0.6s 2 both;
    pointer-events: none;
}

.encounter-pass-kicker {
    margin: 0;
    color: var(--gold);
    font-size: 0.6875rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.encounter-pass-title {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    line-height: 1.15;
    text-wrap: balance;
    color: #fff;
}

.encounter-pass-body {
    margin: 0 0 1rem;
    color: #d6cfb8;
    font-size: 0.9375rem;
}

.encounter-pass-button {
    padding: 0.625rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--gold);
    color: #2a1d00;
    font-weight: 600;
    cursor: pointer;
}

.encounter-pass-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@keyframes encounter-pass-fade {
        from {
        opacity: 0;
    }

        to {
        opacity: 1;
    }
}

@keyframes encounter-pass-in {
        from {
        transform: scale(0.6) rotate(-4deg);
        opacity: 0;
    }

        to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .encounter-card.is-just-unlocked::after,
    .encounter-card.is-just-unlocked .encounter-card-media::after,
    .encounter-card.is-bulk-unlocked::after,
    .encounter-card.is-bulk-unlocked .encounter-card-media::after,
    .encounter-pass-card::after {
        display: none;
    }

    .encounter-complete--pop,
    .encounter-pass,
    .encounter-pass-card {
        animation: none;
    }
}
