.qwibb-reveal {
    --pico-primary-background: var(--pico-primary);
    --pico-primary-border: var(--pico-primary);
    --pico-primary-hover-background: var(--pico-primary-hover);
    --pico-primary-hover-border: var(--pico-primary-hover);
    margin: 1.75rem 0;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid #d6ceb9;
    border-top: 3px solid #a48b51;
    border-radius: .65rem;
    background: #f6f3e9;
    box-shadow: 0 2px 5px #40372208;
    overflow-wrap: anywhere;
}
.reveal-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.reveal-heading > div { flex: 1; min-width: 0; }
.reveal-heading h2 { margin: .15rem 0 0; font-size: 1.3rem; line-height: 1.3; }
.reveal-eyebrow { color: #6c6045; font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.reveal-seal { flex: none; width: 2.5rem; height: 2.5rem; color: #8a713e; }
.reveal-seal svg { display: block; width: 100%; height: 100%; }
.reveal-badge { flex: none; padding: .2rem .55rem; border: 1px solid #d4c9ae; border-radius: 2rem; color: #68552f; font-size: .8rem; font-variant-numeric: tabular-nums; }
.qwibb-reveal .reveal-fine { color: var(--pico-muted-color); font-size: .88rem; line-height: 1.6; margin-bottom: .6rem; }
.qwibb-reveal form { margin: 0; }
.qwibb-reveal button, .qwibb-reveal a[role="button"] { min-height: 2.75rem; margin: .35rem 0; font-size: .95rem; }
.reveal-purchase { padding: 0 0 .4rem; }
.reveal-purchase button { width: 100%; }
.reveal-purchase small { display: block; }
.reveal-unlock { margin: .5rem 0 0; padding-top: .75rem; border-top: 1px solid #ddd5c3; }
.reveal-unlock summary { min-height: 2.75rem; align-content: center; font-size: .95rem; color: var(--pico-primary); }
.reveal-unlock form { padding-top: .75rem; }
.reveal-unlock small { display: block; margin: -.5rem 0 .6rem; }
.reveal-unlock input, .reveal-secret-box textarea, #reveal-invoice { font-family: var(--pico-font-family-monospace); font-size: .87rem; }
.qwibb-reveal textarea { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; }
.reveal-checkout { margin-top: 1.2rem; padding: 1rem; background: #fffcf7; border: 1px solid #ded7c7; border-radius: .45rem; }
.qwibb-reveal h3 { font-size: 1rem; margin: 0 0 .85rem; }
.reveal-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; align-items: center; }
.reveal-qr { text-align: center; }
.reveal-qr img { display: block; width: 100%; height: auto; max-width: 17rem; margin: 0 auto .4rem; background: white; border: 1px solid #e8e3d7; border-radius: .3rem; }
.reveal-qr small, .reveal-wallet-actions small { display: block; font-size: .8rem; }
.reveal-wallet-actions button, .reveal-wallet-actions a { display: block; width: 100%; }
.reveal-wallet-actions p { margin: .7rem 0 .3rem; }
.reveal-checkout details { margin: 1rem 0 .5rem; font-size: .85rem; }
.reveal-checkout > p:last-child { margin-bottom: 0; }
.reveal-notice { font-size: .9rem; border-left: 2px solid #b29a64; padding-left: .85rem; }
.reveal-feedback { margin: .65rem 0 0; font-size: .9rem; }
.reveal-feedback:empty { display: none; }
.reveal-content { border-top: 1px solid #cddbcc; padding-top: 1.2rem; margin-bottom: 1rem; }
.reveal-secret-box { background: #fff8dc; border: 1px solid #d2b968; border-radius: .45rem; padding: 1rem; margin-top: 1.2rem; }
.reveal-secret-box p, .reveal-secret-box label { font-size: .9rem; }
.reveal-secret-box button { width: 100%; }
.reveal-secret-box small { display: block; margin-top: .65rem; font-size: .8rem; }
.qwibb-reveal.is-unlocked { border-color: #bfd2bb; border-top-color: #5d8b5a; background: #f0f5ed; }
.is-unlocked .reveal-seal, .is-unlocked .reveal-eyebrow { color: #477445; }
.is-unlocked .reveal-badge { border-color: #b8cdb3; color: #3c623b; background: #e6efdf; }
@media (max-width: 36rem) {
    .reveal-heading { gap: .65rem; flex-wrap: wrap; }
    .reveal-badge { margin-left: 3.15rem; }
    .reveal-checkout-grid { grid-template-columns: 1fr; }
    .reveal-qr img { max-width: 15rem; }
    .reveal-checkout { padding: .8rem; }
    .reveal-unlock button, .reveal-check { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
    .is-unlocked .reveal-content { animation: reveal-arrive .25s ease-out; }
    @keyframes reveal-arrive { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}
