/* Profile keepsakes. Their materials retain their character in either theme. */
.identity-stage{isolation:isolate}
.identity-object{position:absolute;left:calc(50% - 140px);top:42px;width:280px;transform-origin:50% 0;transform-style:preserve-3d;pointer-events:auto;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;outline-offset:9px;-webkit-tap-highlight-color:transparent}
.identity-object.is-held{cursor:grabbing;will-change:transform}
.identity-object:focus-visible{outline:2px solid var(--blue)}
.identity-object img{display:block;pointer-events:none;user-select:none}
.identity-mark{width:25px;height:29px;object-fit:contain}
.identity-wanted .identity-object{height:376px;filter:drop-shadow(0 18px 12px #241b1426)}
.wanted-paper{position:relative;height:100%;padding:24px 23px 18px;color:#392e21;background:radial-gradient(ellipse at 12% 5%,#bfa36b28,transparent 43%),linear-gradient(104deg,#e5d4ac,#f4e8cb 33%,#ebdab5 75%,#dfc99b);box-shadow:0 24px 20px -18px #2d251f66,1px 3px 5px #241b1430,inset 0 0 30px #82632818;clip-path:polygon(0 .6%,17% 0,32% .7%,60% .3%,78% 0,100% .5%,99.5% 35%,100% 61%,99.4% 100%,75% 99.6%,51% 100%,28% 99.5%,0 100%,.5% 64%,0 32%)}
.wanted-paper:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#796c3a04 0 1px,transparent 1px 3px),linear-gradient(90deg,transparent 49.6%,#977d5420 49.9%,#fff4 50%,transparent 50.5%);mix-blend-mode:multiply}
.wanted-pin{position:absolute;width:11px;height:11px;top:7px;left:calc(50% - 5px);z-index:3;border-radius:50%;background:radial-gradient(circle at 32% 23%,#eee8de,#a19b8f 48%,#6a665e 70%);box-shadow:1px 2px 2px #46372066}
.wanted-kicker{font:8px/1.3 'IBM Plex Mono',monospace;letter-spacing:1px;text-align:center;margin:0 0 10px}
.wanted-heading{font:900 54px/.94 Georgia,'Times New Roman',serif;letter-spacing:-3px;text-align:center}
.wanted-rule{height:4px;border-block:1px solid #6b593b;margin:12px 0}
.wanted-photo{width:125px;height:133px;margin:0 auto 13px;border:3px solid #7460454d;box-shadow:0 0 0 3px #f2e4c4;overflow:hidden;background:#d9c397}
.wanted-photo img{width:100%;height:100%;object-fit:cover;filter:sepia(.7) contrast(.92);mix-blend-mode:multiply}
.wanted-name{font:700 25px/1.05 Georgia,serif;text-align:center;letter-spacing:-.7px;margin:0;max-height:53px;overflow:hidden;overflow-wrap:anywhere}
.wanted-title{font:10px/1.4 'IBM Plex Mono',monospace;text-align:center;margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wanted-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #6b593b66;margin-top:12px;padding-top:9px;font:8px/1.45 'IBM Plex Mono',monospace;letter-spacing:1px}
.wanted-star{font:27px/1 Georgia,serif}
.identity-card .identity-object{height:184px}
.identity-card-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.75,.2,1)}
.is-flipped .identity-card-inner{transform:rotateY(180deg)}
.creator-id-front,.creator-id-back{position:absolute;inset:0;backface-visibility:hidden;border-radius:13px;overflow:hidden;color:#183538;background:linear-gradient(125deg,#f0f5ee,#d9e7df 48%,#d1e0df);box-shadow:0 22px 26px -14px #092b334d,inset 0 0 0 1px #ffffffb0,inset 0 -2px 2px #405b522b}
.creator-id-front{padding:18px 19px 14px}
.creator-id-top{display:flex;justify-content:space-between;align-items:center;font:8px/1.2 'IBM Plex Mono',monospace;letter-spacing:1px}
.creator-id-top .identity-mark{width:17px;height:20px;filter:grayscale(1);opacity:.8}
.creator-id-person{display:flex;gap:13px;align-items:center;margin-top:15px;position:relative;z-index:1}
.creator-id-photo{width:59px;height:64px;flex-shrink:0;border-radius:4px;overflow:hidden;background:#fbfcf3;box-shadow:inset 0 0 0 1px #18353820}
.creator-id-photo img{width:100%;height:100%;object-fit:cover}
.id-caption{font:6px/1.4 'IBM Plex Mono',monospace;letter-spacing:1.2px;opacity:.6}
.creator-id-name{min-width:0}
.creator-id-name h1{font:550 22px/1.05 'Space Grotesk',sans-serif;letter-spacing:-.8px;margin:5px 0;overflow-wrap:anywhere;max-height:48px;overflow:hidden}
.creator-id-name p{font:9px/1.3 'DM Sans',sans-serif;max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}
.creator-id-bottom{display:flex;align-items:center;gap:10px;margin-top:13px;font:6px/1.4 'IBM Plex Mono',monospace;letter-spacing:1px}
.creator-id-chip{display:block;width:23px;height:18px;border:1px solid #a7a484;border-radius:4px;background:linear-gradient(135deg,#d6d8af,#b6b991,#e5e2bb);position:relative;overflow:hidden}
.creator-id-chip:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 30%,#8e947488 32%,transparent 35% 67%,#8e947488 69%,transparent 71%),linear-gradient(transparent 30%,#8e947488 33%,transparent 37% 65%,#8e947488 69%,transparent 72%)}
.creator-id-orbit{margin-left:auto;font:26px/1 Georgia,serif;color:#658485}
.creator-id-gloss{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at var(--shine-x,50%) 20%,#fff8,transparent 70%),repeating-radial-gradient(ellipse at 110% 90%,transparent 0 5px,#4366640e 6px 7px);mix-blend-mode:soft-light}
.creator-id-back{transform:rotateY(180deg);background:linear-gradient(115deg,#d4e3db,#e9eee1)}
.creator-id-magnetic{display:block;height:27px;background:#304c47;margin-top:18px}
.creator-id-back-body{padding:12px 19px}
.creator-id-back-body>p{font:12px/1.4 'DM Sans',sans-serif;max-height:50px;overflow:hidden;margin:6px 0 13px;overflow-wrap:anywhere}
.creator-id-back-bottom{display:flex;align-items:center;justify-content:space-between;font:italic 12px Georgia,serif}
.creator-id-back-bottom .identity-mark{width:14px;height:17px;filter:grayscale(1)}
.identity-polaroid .identity-object{height:350px}
.instant-paper{height:100%;padding:15px 15px 0;color:#292c28;background:linear-gradient(105deg,#f8f7ef,#fffef8 40%,#ecece4);box-shadow:0 27px 24px -19px #1c261a60,0 2px 3px #1c261a20,inset 0 0 0 1px #fff9;position:relative}
.instant-paper:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(5deg,transparent 0 2px,#a4a08704 2px 3px)}
.instant-photo{width:250px;height:250px;position:relative;overflow:hidden;background:#e6dfcf;box-shadow:0 0 0 1px #0000000d,inset 0 0 10px #0002}
.instant-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.88) contrast(.96)}
.instant-photo img[data-custom-photo=false]{object-fit:contain}
.instant-shine{position:absolute;inset:0;background:linear-gradient(120deg,transparent 35%,#fff3 48%,transparent 60%);background-position:var(--shine-x,50%) center;background-size:180% 100%;pointer-events:none}
.instant-caption{padding:16px 8px 0;position:relative}
.instant-caption h1{font:italic 26px/1.05 Georgia,serif;letter-spacing:-1px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.instant-caption p{font:10px/1.4 'DM Sans',sans-serif;color:#686c61;margin:6px 0 0;max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.instant-edition{position:absolute;right:3px;bottom:0;writing-mode:vertical-rl;font:5px/1 'IBM Plex Mono',monospace;letter-spacing:1px;color:#939788}
.identity-picker-open{overflow:hidden}
.identity-picker{padding:0;border:0;border-radius:16px;width:min(720px,calc(100vw - 40px));max-height:calc(100dvh - 40px);color:var(--ink);background:var(--paper);overflow:auto;box-shadow:0 30px 110px #0004}
.identity-picker::backdrop{background:#15191760;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.identity-picker-header{display:flex;justify-content:space-between;align-items:flex-start;padding:28px 30px 0}
.identity-picker-header p{font:9px/1.5 'IBM Plex Mono',monospace;letter-spacing:1.6px;color:var(--muted);margin:0 0 7px}
.identity-picker-header h2{font:500 30px/1.1 'Space Grotesk',sans-serif;letter-spacing:-1.2px;margin:0}
.identity-picker-close{display:grid;place-items:center;border:0;background:var(--surface);color:var(--muted);width:34px;height:34px;border-radius:50%;font:24px/1 'DM Sans',sans-serif;cursor:pointer}
.identity-picker-close:hover{color:var(--ink);background:var(--surface-hover)}
.identity-picker-body{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;padding:5px 30px 10px;gap:30px}
.identity-picker-preview{min-width:0;min-height:460px;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center}
.identity-picker-preview .badge-stage{flex-shrink:0}
.identity-picker-preview .badge-stage{margin:0;max-width:100%}
.identity-picker-preview .badge-hint{margin-top:0;font-size:10px}
.identity-picker-preview .identity-stage{animation:identity-arrive .45s cubic-bezier(.2,.75,.2,1) both}
.identity-picker-choices{display:flex;flex-direction:column;gap:7px}
.identity-picker-choices>button{display:flex;align-items:center;width:100%;gap:14px;min-height:68px;text-align:left;padding:12px 14px;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer;transition:background .2s,color .2s}
.identity-picker-choices>button:hover{background:var(--surface);color:var(--ink)}
.identity-picker-choices>button[aria-pressed=true]{background:var(--surface);color:var(--ink)}
.identity-picker-choices svg{width:28px;height:28px;flex-shrink:0;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}
.identity-picker-choices strong{display:block;font-size:14px;font-weight:500;line-height:1.4}
.identity-picker-choices small{display:block;font-size:11px;margin-top:2px;color:var(--muted)}
.identity-choice-check{margin-left:auto;font:10px 'IBM Plex Mono',monospace;opacity:.6}
[aria-pressed=true]>.identity-choice-check{color:var(--blue);opacity:1}
.identity-picker-description{font-size:12px;color:var(--muted);line-height:1.5;margin:12px 14px 0;min-height:36px}
.identity-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 30px;border-top:1px solid var(--hairline)}
.identity-picker-footer>span{font-size:11px;color:var(--muted)}
.identity-picker-footer .button{padding:12px 18px;font-size:13px;min-height:44px;gap:16px}
.identity-picker-error{color:var(--error,#db655f);padding:0 30px;font-size:13px;margin:0 0 15px}
.identity-picker button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.identity-picker button:disabled{cursor:wait;opacity:.55}
@keyframes identity-arrive{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(max-width:600px){
 .identity-picker{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}
 .identity-picker-header{padding:20px 20px 0}.identity-picker-header h2{font-size:26px}
 .identity-picker-body{grid-template-columns:1fr;padding:0 18px 16px;gap:15px}
 .identity-picker-preview{width:230px;max-width:100%;min-height:382px;margin:auto}
 .identity-picker-choices{display:grid;grid-template-columns:1fr 1fr;gap:5px}
 .identity-picker-choices>button{min-height:54px;padding:9px;gap:9px}
 .identity-picker-choices strong{font-size:12px}.identity-picker-choices small{font-size:10px}
 .identity-picker-choices svg{width:22px;height:22px}.identity-choice-check{display:none}
 .identity-picker-description{display:none}
 .identity-picker-footer{padding:14px 18px;position:sticky;bottom:0;background:var(--paper)}
 .identity-picker-footer>span{max-width:95px;line-height:1.5}.identity-picker-footer .button{padding:11px 14px;font-size:12px;gap:12px}
}
@media(prefers-reduced-motion:reduce){.identity-card-inner,.identity-picker-choices>button{transition:none}.identity-picker-preview .identity-stage{animation:none}}
