.wallet-device {
    position: relative;
    width: min(100%, 330px);
    aspect-ratio: 1470/3000;
    margin: 16px auto;
    isolation: isolate;
    text-align: left;
}
.wallet-bezel {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}
.wallet-screen {
    position: absolute;
    inset: 2.1% 4.9%;
    background: #f2f2f7;
    border-radius: 15% / 7%;
    overflow: hidden;
    container-type: inline-size;
}
.wallet-statusbar {
    display: flex;
    justify-content: space-between;
    padding: 5% 8% 0;
    color: #111111;
    font: 600 11px system-ui;
    height: 8%;
    box-sizing: border-box;
}
.wallet-toolbar {
    display: flex;
    justify-content: space-between;
    color: #111111;
    padding: 0 5% 5%;
    font: 600 17px system-ui;
    height: 8%;
    align-items: center;
    box-sizing: border-box;
}
.wallet-toolbar span {
    display: grid;
    place-items: center;
    background: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
.wallet-screen .wallet-preview-card,
.wallet-screen .sample-pass {
    width: 94%;
    max-width: none;
    min-height: 0;
    height: 75%;
    padding: 0;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: none;
    transform: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font: 12px system-ui;
    box-sizing: border-box;
}
.wallet-screen .wallet-preview-card header,
.wallet-screen .pass-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 13px 11px;
    min-height: 55px;
    border: 0;
    background: none;
}
.wallet-screen header img {
    width: auto;
    max-width: 60px;
    height: 30px;
    object-fit: contain;
}
.wallet-screen header > strong,
.wallet-screen .pass-heading > strong {
    font-size: 13px;
    flex: 1;
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.wallet-screen header > span {
    text-align: right;
    margin-left: auto;
    font-size: 12px;
}
.wallet-screen header small {
    font-size: 8px;
    display: block;
}
.wallet-screen .wallet-preview-strip {
    width: 100%;
    height: auto;
    display: block;
}
.wallet-screen .wallet-preview-card > small {
    padding: 15px 12px 0;
    font-size: 9px;
}
.wallet-screen .wallet-preview-card > p {
    padding: 3px 12px;
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
}
.wallet-demo-qr {
    margin: auto auto 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #222;
}
.wallet-demo-qr svg {
    width: 112px;
    height: 112px;
    background: white;
    border-radius: 5px;
    shape-rendering: crispEdges;
}
.wallet-demo-qr > small {
    font-size: 7px !important;
    color: inherit !important;
    background: white;
    letter-spacing: 0.4px;
}
.wallet-screen .sample-pass > p {
    font-size: 10px;
    padding: 0 12px;
    margin: 0 0 7px;
}
.wallet-screen .pass-logo {
    width: auto;
    max-width: 60px;
    height: 30px;
}
.wallet-screen .preview-stamps {
    gap: 7px;
    padding: 14px 6px;
    min-height: 0;
}
.wallet-screen .preview-stamps span {
    width: 35px;
    height: 35px;
    font-size: 16px;
}
.wallet-screen .pass-reward {
    padding: 0 12px;
    gap: 4px;
}
.wallet-screen .pass-reward small {
    font-size: 8px;
}
.wallet-screen .pass-reward strong {
    font-size: 13px;
}
.wallet-preview {
    max-width: 480px;
}
.wallet-preview input[type='range'] {
    max-width: 330px;
}
.wizard-preview .wallet-device {
    max-width: 330px;
}
.hero-art .wallet-device {
    max-width: 330px;
}
.hero-art .sample-pass {
    transform: none;
}
.wallet-preview .wallet-device + label {
    display: block;
}
@media (max-width: 400px) {
    .wallet-device {
        max-width: 290px;
    }
    .wallet-screen .preview-stamps {
        gap: 5px;
    }
    .wallet-screen .preview-stamps span {
        width: 31px;
        height: 31px;
    }
}

.wallet-demo-strip {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
}
.wallet-device .preview-stamps[hidden] {
    display: none;
}
.poster-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wallet-statusbar svg {
    width: 44px;
    height: 13px;
    color: #111111;
}
