:root{--bg-primary:#e8eefb;--bg-surface:rgba(255,255,255,0.82);--bg-elevated:rgba(255,255,255,0.94);--accent-blue:#2f5ef4;--accent-orange:#ea5f00;--accent-blue-dim:rgba(47,94,244,0.12);--text-primary:#12172e;--text-secondary:#5c6884;--text-muted:#8b96b0;--border:rgba(180,196,236,0.55);--border-active:rgba(75,119,255,0.5);--shadow-card:0 1px 0 rgba(255,255,255,0.9) inset,0 12px 32px rgba(40,56,110,0.1),0 2px 8px rgba(40,56,110,0.05);--shadow-glow:0 0 22px rgba(47,94,244,0.28);--radius-lg:22px;--radius-md:14px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--font:"Geist","Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--content-width:min(100%,400px);--app-bg:radial-gradient(900px 480px at 50% 0%,rgba(210,224,255,0.55) 0%,transparent 58%),radial-gradient(560px 420px at 0% 100%,rgba(175,198,255,0.5) 0%,transparent 68%),radial-gradient(640px 460px at 100% 12%,rgba(255,214,176,0.32) 0%,transparent 64%),linear-gradient(rgba(100,130,200,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(100,130,200,0.07) 1px,transparent 1px),var(--bg-primary)}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;height:100%;background-color:var(--bg-primary);background-image:var(--app-bg);background-size:auto,auto,auto,36px 36px,36px 36px,auto;background-attachment:fixed;background-repeat:no-repeat,no-repeat,no-repeat,repeat,repeat,no-repeat}body,html{min-height:100%;min-height:100dvh;min-height:-webkit-fill-available}body{margin:0;font-family:var(--font);color:var(--text-primary);background:transparent;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;border:none;cursor:pointer;background:none}img{display:block;max-width:100%}.page{display:flex;flex-direction:column;align-items:center;padding:calc(12px + var(--safe-top)) 16px calc(20px + var(--safe-bottom));width:100%;max-width:720px;margin:0 auto}.page,.page.single{min-height:100dvh;min-height:100svh;min-height:-webkit-fill-available;background:transparent}.page.single{max-height:none;overflow-x:hidden;overflow-y:auto;padding:calc(10px + var(--safe-top)) 16px max(14px,var(--safe-bottom));justify-content:flex-start;gap:0}@media (min-width:720px){.page,.page.single{padding:40px 24px 56px}.page.single{max-height:none;overflow:visible}}.header{width:100%;max-width:var(--content-width);display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;flex-shrink:0}.page.single .header{margin-bottom:16px}.brand{display:flex;align-items:center;gap:8px;transition:opacity .15s ease}.brand:hover{opacity:.88}.brand-mark{width:34px;height:34px;border-radius:10px;background:radial-gradient(circle at 50% 38%,rgba(215,169,40,.28) 0,transparent 68%),var(--bg-elevated);border:1px solid var(--border);box-shadow:var(--shadow-card);display:grid;place-items:center;overflow:hidden}.brand-mark img{width:28px;height:28px;object-fit:cover;image-rendering:pixelated}.brand-text{display:flex;flex-direction:column;line-height:1.12}.brand-name{font-weight:700;font-size:14px;letter-spacing:.05em}.brand-sub{font-size:11px;color:var(--text-secondary)}.badge-nfc{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--accent-blue);background:linear-gradient(180deg,rgba(255,255,255,.95),var(--accent-blue-dim));border:1px solid rgba(47,94,244,.2);padding:6px 10px;border-radius:999px;white-space:nowrap}.hero{width:100%;max-width:var(--content-width);text-align:center;margin-bottom:16px}.page.single .hero{display:none}.hero h1{margin:0 0 6px;font-size:clamp(1.2rem,3.5vw,1.5rem);font-weight:700;letter-spacing:-.03em;line-height:1.25}.hero p{margin:0;color:var(--text-secondary);font-size:14px}.cards{width:100%;max-width:var(--content-width);display:flex;flex-direction:column;gap:12px;margin-bottom:12px;flex:0 1 auto;min-height:0}.page.single .cards{margin-bottom:18px;flex:0 0 auto}.page:not(.single) .cards{max-width:min(100%,840px)}@media (min-width:720px){.page:not(.single) .cards{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}}.card{position:relative;width:100%;background:var(--bg-surface);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);border:1px solid rgba(255,255,255,.75);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:16px 14px 14px;display:flex;flex-direction:column;gap:12px;overflow:hidden;isolation:isolate}.page.single .card{padding:18px 16px 16px;gap:14px;border-radius:22px}.card:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;border-radius:var(--radius-lg) var(--radius-lg) 0 0;background:linear-gradient(90deg,var(--card-accent,var(--accent-blue)) 0,color-mix(in srgb,var(--card-accent,var(--accent-blue)) 40%,#fff) 55%,transparent 100%);z-index:2}.card-glow{top:-40%;right:-20%;width:70%;height:70%;background:radial-gradient(circle,color-mix(in srgb,var(--card-accent,var(--accent-blue)) 20%,transparent) 0,transparent 68%)}.card-glow,.card-shine{position:absolute;pointer-events:none;z-index:0}.card-shine{inset:0;background:linear-gradient(165deg,rgba(255,255,255,.5),rgba(255,255,255,.06) 28%,transparent 52%);border-radius:inherit}.card>:not(.card-glow):not(.card-shine){position:relative;z-index:1}a.card-link{color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}a.card-link:hover{border-color:var(--border-active);box-shadow:var(--shadow-card),0 0 0 3px var(--accent-blue-dim);transform:translateY(-2px);transition:transform .2s ease,box-shadow .2s ease}.card-top{display:flex;align-items:center;gap:12px;padding-top:2px}.page.single .card-top{gap:14px}.avatar-wrap{position:relative;flex-shrink:0;width:72px;height:72px}.page.single .avatar-wrap{width:76px;height:76px}.avatar-ring{position:absolute;inset:-2px;background:linear-gradient(145deg,var(--card-accent,var(--accent-blue)),color-mix(in srgb,var(--card-accent,var(--accent-blue)) 35%,#fff) 48%,rgba(255,255,255,.9));opacity:.9;z-index:0;box-shadow:0 8px 20px color-mix(in srgb,var(--card-accent,var(--accent-blue)) 26%,transparent)}.avatar-ring,.page.single .avatar-ring{border-radius:20px}.avatar{position:relative;z-index:1;width:72px;height:72px;border-radius:18px;object-fit:cover;border:2.5px solid rgba(255,255,255,.95);box-shadow:0 6px 16px rgba(30,42,80,.12);background:var(--accent-blue-dim)}.page.single .avatar{width:76px;height:76px;border-radius:18px;border-width:2.5px}.avatar-fallback{display:grid;place-items:center;font-weight:750;font-size:22px;letter-spacing:-.03em;color:white}.page.single .avatar-fallback{font-size:24px}.identity{min-width:0;flex:1 1;display:flex;flex-direction:column;gap:1px}.identity-chip{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;margin-bottom:4px;padding:3px 8px 3px 6px;border-radius:999px;font-size:9.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:color-mix(in srgb,var(--card-accent,var(--accent-blue)) 85%,#151b35);background:color-mix(in srgb,var(--card-accent,var(--accent-blue)) 12%,#fff);border:1px solid color-mix(in srgb,var(--card-accent,var(--accent-blue)) 22%,transparent)}.page.single .identity-chip{margin-bottom:5px;padding:4px 9px 4px 7px;font-size:10px}.identity-chip-dot{width:5px;height:5px;border-radius:50%;background:var(--card-accent,var(--accent-blue));box-shadow:0 0 0 2px color-mix(in srgb,var(--card-accent,var(--accent-blue)) 22%,transparent);animation:pulse-dot 2.4s ease-in-out infinite}@keyframes pulse-dot{0%,to{box-shadow:0 0 0 2px color-mix(in srgb,var(--card-accent,var(--accent-blue)) 18%,transparent)}50%{box-shadow:0 0 0 4px color-mix(in srgb,var(--card-accent,var(--accent-blue)) 8%,transparent)}}.identity h2{margin:0;font-size:1.2rem;font-weight:750;letter-spacing:-.03em;line-height:1.15}.page.single .identity h2{font-size:1.28rem}.identity .role{margin:2px 0 0;font-size:13px;color:var(--text-secondary);font-weight:600}.page.single .identity .role{font-size:13.5px;margin-top:3px}.identity .company{margin:2px 0 0;font-size:12px;color:var(--text-muted);font-weight:500}.page.single .identity .company{font-size:12px;margin-top:3px}.add-contact{display:flex;flex-direction:column;gap:4px}a.action.save-contact{width:100%;min-height:48px;border-radius:14px;background:linear-gradient(180deg,#1c2340,#151b35);color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 22px rgba(21,27,53,.24);font-weight:680;font-size:14px;gap:8px;letter-spacing:-.01em;cursor:pointer;text-decoration:none}.page.single a.action.save-contact{min-height:50px;font-size:14.5px;border-radius:14px}a.action.save-contact:hover{filter:brightness(1.07)}a.action.save-contact[aria-busy=true]{opacity:.75;pointer-events:none}.add-contact-hint{margin:0;font-size:11px;color:var(--text-secondary);text-align:center;line-height:1.3}.actions-label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin:0 0 -2px 2px}.page.single .actions-label{display:block;margin:2px 0 -2px 2px}.actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.page.single .actions{gap:10px}.action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;min-width:0;padding:10px;border-radius:var(--radius-md);font-size:13px;font-weight:620;border:1px solid var(--border);background:linear-gradient(180deg,rgba(255,255,255,.95),var(--bg-elevated));color:var(--text-primary);box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:center}.page.single .action{min-height:48px;padding:11px;font-size:13.5px;border-radius:14px}.action-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;background:rgba(255,255,255,.22);color:inherit}.page.single .action-icon{width:32px;height:32px;border-radius:10px}.action-icon.soft{background:color-mix(in srgb,var(--card-accent,var(--accent-blue)) 10%,#f4f7ff);color:color-mix(in srgb,var(--card-accent,var(--accent-blue)) 75%,#151b35);border:1px solid color-mix(in srgb,var(--card-accent,var(--accent-blue)) 14%,transparent)}.action svg,.action-icon svg{width:16px;height:16px;flex-shrink:0;opacity:.95}.page.single .action svg,.page.single .action-icon svg{width:16px;height:16px}.action:hover{border-color:var(--border-active);box-shadow:0 0 0 3px var(--accent-blue-dim)}.action:active{transform:scale(.975)}.action.primary{grid-column:1/-1;background:linear-gradient(135deg,var(--card-accent,var(--accent-blue)) 0,color-mix(in srgb,var(--card-accent,var(--accent-blue)) 72%,#1a2a6e) 100%);color:#fff;border-color:transparent;box-shadow:0 1px 0 rgba(255,255,255,.2) inset,0 10px 22px color-mix(in srgb,var(--card-accent,var(--accent-blue)) 32%,transparent);justify-content:center;gap:10px;min-height:48px}.page.single .action.primary{min-height:50px}.action.primary .action-icon{background:rgba(255,255,255,.18);color:#fff}.action.action-wide{grid-column:1/-1;justify-content:flex-start;padding-left:12px;padding-right:12px}.action.primary:hover{filter:brightness(1.04)}.action-stack{display:flex;flex-direction:column;gap:0;min-width:0}.action-stack,.action.primary .action-stack{align-items:flex-start;text-align:left}.action-label{font-size:13.5px;font-weight:680;line-height:1.2}.page.single .action-label{font-size:14px}.action-meta{font-size:11.5px;font-weight:500;opacity:.9;line-height:1.2;word-break:break-all}.page.single .action-meta{font-size:12px}.action:not(.primary) .action-meta{font-size:10.5px;color:var(--text-muted);opacity:1;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.elric-cta-wrap{width:100%;max-width:var(--content-width);display:flex;flex-direction:column;align-items:center;margin-top:4px;margin-bottom:0;flex-shrink:0}.page.single .elric-cta-wrap{margin-top:4px;margin-bottom:4px}.elric-cta-stage{position:relative;width:100%;padding-top:34px;overflow:visible}.elric-cling,.elric-cta-stage{display:flex;align-items:flex-end;justify-content:center}.elric-cling{position:absolute;left:50%;bottom:16px;width:52px;height:84px;pointer-events:none;z-index:0;transform:translateX(-50%);animation:elric-cling 3.4s ease-in-out infinite;filter:drop-shadow(0 3px 6px rgba(15,23,42,.16))}.elric-cling img{width:52px;height:auto;max-height:84px;object-fit:contain;object-position:bottom center;image-rendering:pixelated}.elric-cta{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:280px;min-height:48px;padding:12px 22px;border-radius:999px;background:linear-gradient(135deg,#2f5ef4,#4b7bff 48%,#3b82f6);color:#fff;font-weight:720;font-size:15px;letter-spacing:-.01em;border:1px solid rgba(255,255,255,.22);box-shadow:0 1px 0 rgba(255,255,255,.25) inset,var(--shadow-glow),0 12px 28px rgba(47,94,244,.26);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;isolation:isolate}.page.single .elric-cta{min-height:50px;font-size:15px;padding:13px 24px;max-width:100%}.elric-cta:hover{filter:brightness(1.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 0 28px rgba(59,130,246,.42),0 14px 32px rgba(47,94,244,.32)}.elric-cta:active{transform:scale(.97)}.elric-cta-label{position:relative;z-index:1;white-space:nowrap}.elric-cta .arrow{width:17px;height:17px;opacity:.95;flex-shrink:0;position:relative;z-index:1}@keyframes elric-cling{0%,to{transform:translateX(-50%) translateY(0) rotate(-1.5deg)}50%{transform:translateX(-50%) translateY(-2px) rotate(1deg)}}.elric-cta-sub{display:none}.footer{margin-top:10px;padding-top:0;text-align:center;font-size:11px;color:var(--text-muted);line-height:1.4;width:100%;max-width:var(--content-width);flex-shrink:0}.page.single .footer{margin-top:12px;font-size:11px;opacity:.9}.footer a{color:var(--text-secondary);font-weight:500}.footer a:hover{color:var(--accent-blue)}.footer p{margin:0}.back-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:12px;align-self:flex-start;width:100%;max-width:var(--content-width)}.back-link:hover{color:var(--accent-blue)}@media (prefers-reduced-motion:reduce){.elric-cling,.identity-chip-dot{animation:none}.action,.card,.elric-cta{transition:none}}@media (max-height:700px){.page.single{padding-top:12px;padding-bottom:max(10px,var(--safe-bottom))}.page.single .header{margin-bottom:12px}.page.single .cards{margin-bottom:14px}.page.single .card{padding:14px 14px 12px;gap:11px}.page.single .avatar,.page.single .avatar-wrap{width:68px;height:68px}.page.single .avatar{border-radius:16px}.page.single .identity h2{font-size:1.15rem}.page.single .action.primary,.page.single a.action.save-contact{min-height:46px}.page.single .action{min-height:44px}.elric-cta-stage{padding-top:28px}.elric-cling{width:46px;height:74px;bottom:13px}.elric-cling img{width:46px;max-height:74px}}