.yj-passport-mark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--yj-ui-text, currentColor);
}

.yj-passport-mark__booklet {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

.yj-passport-mark__booklet--dark { display: none; }
html.dark .yj-passport-mark__booklet--dark { display: inline-block; }
html.dark .yj-passport-mark__booklet--light { display: none; }

.yj-passport-mark--wordmark .yj-passport-mark__booklet {
    width: 2rem;
    height: 2rem;
}

.yj-passport-mark__wordmark {
    display: grid;
    line-height: 1;
}

.yj-passport-mark__issuer {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.yj-passport-mark__product {
    font: 600 1.35rem/1.1 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

.yj-passport-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.yj-passport-wordmark { margin-bottom: .8rem; }

.yj-passport-entry {
    display: grid;
    justify-items: center;
    padding-block: clamp(2.25rem, 7vw, 5rem);
}

.yj-passport-entry__panel {
    width: min(100%, 35rem);
    padding: clamp(1.5rem, 5vw, 2.75rem);
    border: 1px solid var(--yj-ui-border, #465545);
    border-radius: 14px;
    background: var(--yj-ui-surface, #242f24);
    color: var(--yj-ui-text, #f5f2e6);
}

.yj-passport-entry__panel .yj-passport-wordmark {
    margin-bottom: 1.5rem;
}

.yj-passport-entry__panel :is(h1, h2) {
    margin: 0 0 .6rem;
    font-size: clamp(1.7rem, 5vw, 2.25rem);
    line-height: 1.13;
    letter-spacing: -.025em;
}

.yj-passport-entry__panel p,
.yj-passport-entry__steps {
    margin-block: 0 1rem;
    color: var(--yj-ui-muted, #c4ceb9);
}

.yj-passport-entry__steps {
    padding-inline-start: 1.45rem;
}

.yj-passport-entry__steps li {
    padding-inline-start: .25rem;
    margin-block-end: .25rem;
}

.yj-passport-entry__steps li::marker {
    color: var(--p-color, #a6ce91);
    font-weight: 700;
}

.yj-passport-entry__primary {
    width: 100%;
    min-height: 2.8rem;
    white-space: normal;
    gap: .55rem;
    margin-block-start: .35rem;
}

.yj-passport-entry__links {
    display: grid;
    justify-items: start;
    gap: .35rem;
    margin-block-start: 1rem;
}

.yj-passport-entry__links a {
    padding-block: .35rem;
    color: var(--p-color, #a6ce91);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.yj-passport-modal .modal-dialog {
    max-width: 35rem;
}

.yj-passport-modal .modal-content {
    border: 0;
    border-radius: 14px;
}

.yj-passport-modal .yj-passport-entry__panel {
    position: relative;
    width: 100%;
}

.yj-passport-entry__close {
    position: absolute;
    inset: .5rem .5rem auto auto;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: 400 1.65rem/1 system-ui, sans-serif;
    cursor: pointer;
}

.yj-passport-entry__close:hover {
    background: var(--yj-ui-hover, #314831);
}

.welcome-card.yj-passport-welcome-card {
    height: auto;
    min-height: 105px;
}

.yj-passport-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
}

.yj-passport-notice p {
    margin: 0;
}

.yj-passport-notice .yj-passport-notice__action {
    margin: 0;
    min-height: 2.75rem;
}

.yj-account-links .yj-account-passport--connect:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
