/* Original and Vintage Adventure remain in passport.css. These skins only affect recognition artwork. */
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamps{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:28px;padding:25px 20px;background:radial-gradient(ellipse at 15% 10%,#d1b67a20,transparent 65%),repeating-linear-gradient(0deg,#98806412 0 1px,transparent 1px 34px),#f6eddb;border:1px solid #e5d7bb;border-radius:5px;overflow:visible}
[data-stamp-style="expedition"]{--seal-ink:#65422b;--seal-paper:#f7edd9;--seal-frame:url('stamp-templates/expedition-frame.svg');--seal-emblem:url('stamp-templates/expedition-emblem.svg')}
[data-stamp-style="relic"]{--seal-ink:#755a22;--seal-paper:#f2e5c6;--seal-frame:url('stamp-templates/relic-frame.svg');--seal-emblem:url('stamp-templates/relic-emblem.svg')}
[data-stamp-style="cartographer"]{--seal-ink:#244e65;--seal-paper:#f0eedf;--seal-frame:url('stamp-templates/cartographer-frame.svg');--seal-emblem:url('stamp-templates/cartographer-emblem.svg')}
[data-stamp-style="buccaneer"]{--seal-ink:#773b33;--seal-paper:#f3e4cf;--seal-frame:url('stamp-templates/buccaneer-frame.svg');--seal-emblem:url('stamp-templates/buccaneer-emblem.svg')}
[data-stamp-style="captain"]{--seal-ink:#245959;--seal-paper:#eee9d7;--seal-frame:url('stamp-templates/captain-frame.svg');--seal-emblem:url('stamp-templates/captain-emblem.svg')}
[data-stamp-style="treasure"]{--seal-ink:#674b38;--seal-paper:#f5e7c8;--seal-frame:url('stamp-templates/treasure-frame.svg');--seal-emblem:url('stamp-templates/treasure-emblem.svg')}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp{position:relative;isolation:isolate;align-self:center;min-height:340px;padding:38px 30px 36px;border:0;outline:0;border-radius:0;box-shadow:none;transform:rotate(-1deg);color:var(--seal-ink);background:var(--seal-frame) center/100% 100% no-repeat,radial-gradient(ellipse at 15% 8%,#ffffff60,transparent 70%),var(--seal-paper);font-family:Georgia,'Times New Roman',serif}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp:nth-child(even){transform:rotate(1deg)}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp-emblem{display:block;width:66px;height:66px;margin:0 auto 12px;background:var(--seal-emblem) center/contain no-repeat;flex-shrink:0}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp-emblem svg{display:none}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp>span:not(.r420e-stamp-emblem){font:bold 11px/1.6 'Courier New',monospace;letter-spacing:2px}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp strong{font-size:24px;line-height:1.25;text-transform:uppercase;letter-spacing:1px;margin:9px 0;overflow-wrap:anywhere}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp small{font-size:12px;line-height:1.5}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp time{font:bold 12px/1.5 'Courier New',monospace;letter-spacing:1px;border-top:1px dashed currentColor;padding-top:7px;margin-top:12px}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp.is-revoked{opacity:.6;text-decoration:line-through}
[data-stamp-style="cartographer"] .r420e-stamp,[data-stamp-style="captain"] .r420e-stamp{border-radius:50%!important;padding-left:44px!important;padding-right:44px!important}
@media(max-width:640px){[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamps{grid-template-columns:minmax(0,1fr);gap:26px;padding:20px 10px}[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp{padding-left:27px;padding-right:27px;transform:none!important}[data-stamp-style="cartographer"] .r420e-stamp,[data-stamp-style="captain"] .r420e-stamp{padding-left:36px!important;padding-right:36px!important}}
/* Province artwork is decorative and follows only explicit town/province stamp metadata. */
[data-r420e-passport]{--r420e-province-sprite:url('stamp-templates/province-motifs.png')}
.r420e-stamp[data-stamp-region="western-cape"]{--region-motif:var(--r420e-province-sprite);--region-position:0% 0%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="eastern-cape"]{--region-motif:var(--r420e-province-sprite);--region-position:50% 0%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="kwazulu-natal"]{--region-motif:var(--r420e-province-sprite);--region-position:100% 0%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="mpumalanga"]{--region-motif:var(--r420e-province-sprite);--region-position:0% 50%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="limpopo"]{--region-motif:var(--r420e-province-sprite);--region-position:50% 50%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="gauteng"]{--region-motif:var(--r420e-province-sprite);--region-position:100% 50%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="northern-cape"]{--region-motif:var(--r420e-province-sprite);--region-position:0% 100%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="free-state"]{--region-motif:var(--r420e-province-sprite);--region-position:50% 100%;--region-size:300% 300%}
.r420e-stamp[data-stamp-region="north-west"]{--region-motif:var(--r420e-province-sprite);--region-position:100% 100%;--region-size:300% 300%}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp{min-height:430px}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp-emblem{width:144px;height:144px;background-image:var(--region-motif,var(--seal-emblem));background-size:var(--region-size,contain);background-position:var(--region-position,center)}
@media(prefers-reduced-motion:reduce){[data-r420e-passport] .r420e-stamp{transition:none}}

/* 1.8.3: locally bundled antique treasure-map background. Text stays live. */
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamps{position:relative;isolation:isolate;background:#ead3a0 url('stamp-templates/treasure-map-parchment.png') center/100% 100% no-repeat;border:0;border-radius:3px;padding:90px 38px 76px;min-height:600px;box-shadow:0 8px 20px #4d2c1825}
[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamp{background:var(--seal-frame) center/100% 100% no-repeat,linear-gradient(#fff7e4e8,#f6e8cbe8);box-shadow:0 2px 8px #54351b15}
@media(max-width:640px){[data-r420e-passport]:is([data-stamp-style="expedition"],[data-stamp-style="relic"],[data-stamp-style="cartographer"],[data-stamp-style="buccaneer"],[data-stamp-style="captain"],[data-stamp-style="treasure"]) .r420e-stamps{padding:82px 20px 70px;gap:30px}}
