@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_f367f3;src:local("Arial");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:107.06%}.__className_f367f3{font-family:__Inter_f367f3,__Inter_Fallback_f367f3;font-style:normal}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Avenir,Helvetica,Arial,sans-serif;line-height:1.6;font-weight:400;color-scheme:light;color:rgba(0,0,0,.87);background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1a1a1a;text-decoration:inherit;transition:color .2s ease}a:hover{color:#374151}body{margin:0;min-width:320px;min-height:100vh}h1{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:2rem;font-weight:700;line-height:1.2;letter-spacing:-.03em}h2{font-size:1.5rem;line-height:1.3;letter-spacing:-.02em}h2,h3{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:600}h3{font-size:1.25rem;line-height:1.4}button{border-radius:6px;border:1px solid transparent;padding:.6em 1.2em;font-size:.9375rem;font-weight:500;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#1a1a1a;color:#fff;cursor:pointer;transition:all .2s ease}button:hover{background-color:#374151}button:focus,button:focus-visible{outline:2px solid #1a1a1a;outline-offset:2px}@media (prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.auth-container{display:flex!important;justify-content:center!important;align-items:flex-start!important;min-height:calc(100vh - 200px)!important;padding:2rem!important;margin-top:2rem!important;width:100%!important}.auth-card{background:#fff!important;border-radius:12px!important;padding:3rem!important;max-width:520px!important;width:100%!important;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important;border:1px solid #e5e7eb!important;margin:0 auto!important}.auth-card h1{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;margin:0 0 1rem;font-size:2rem;font-weight:700;color:#1a1a1a;letter-spacing:-.03em;line-height:1.2}.auth-description{color:#666;margin-bottom:2rem;line-height:1.6;font-size:.9375rem}.auth-features{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.feature-item{display:flex;align-items:center;gap:.75rem;color:#444}.feature-icon{font-size:1.5rem}.username-section{margin-bottom:1.5rem}.username-label{display:block;color:#444;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.username-input{width:100%;padding:.875rem 1rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;color:#1a1a1a;background:#fff;transition:all .2s ease;box-sizing:border-box}.username-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.username-input:disabled{opacity:.6;cursor:not-allowed;background:#f9fafb}.username-input::placeholder{color:#9ca3af}.auth-button{width:100%!important;padding:.875rem 1.5rem!important;font-size:1rem!important;font-weight:600!important;border:none!important;border-radius:8px!important;cursor:pointer!important;transition:all .2s ease!important;background-color:transparent!important;color:inherit!important;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}.auth-button.primary{background:#2563eb!important;background-color:#2563eb!important;color:#fff!important;border:transparent!important}.auth-button.primary:hover:not(:disabled){background:#1d4ed8!important;background-color:#1d4ed8!important}.auth-button.secondary{background:#f3f4f6;color:#1a1a1a}.auth-button.secondary:hover:not(:disabled){background:#e5e7eb}.auth-button:disabled{opacity:.6;cursor:not-allowed}.loading-state,.success-state{text-align:center;padding:2rem 0}.spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.loading-hint{color:#666;font-size:.875rem;margin-top:.5rem}.loading-hint-small{color:#888;font-size:.75rem;margin-top:.75rem;max-width:400px;line-height:1.4}.success-icon{width:64px;height:64px;background:#10b981;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;margin:0 auto 1rem}.success-state p{margin:.5rem 0;color:#1a1a1a}.success-hint{color:#666;font-size:.875rem}.error-message{background:#fee2e2;color:#991b1b;padding:.875rem;border-radius:6px;margin-bottom:1rem;font-size:.875rem}.error-message::selection{background:#dc2626;color:#fff}.error-message::-moz-selection{background:#dc2626;color:#fff}.error-message.small{font-size:.75rem;padding:.5rem;margin-bottom:.5rem}.login-button-container{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.membership-container{display:flex;justify-content:center;padding:2rem;min-height:60vh}.membership-card{background:#fff;border-radius:12px;padding:2.5rem;max-width:900px;width:100%;box-shadow:0 4px 6px rgba(0,0,0,.1)}.membership-card h1{margin:0 0 1rem;font-size:2rem;color:#1a1a1a}.membership-description{color:#666;margin-bottom:2rem;line-height:1.6}.save-message{margin-bottom:1.5rem}.members-section,.search-section{margin-bottom:3rem;padding-bottom:2rem;border-bottom:2px solid #e5e7eb}.members-section:last-child{border-bottom:none}.members-section h2,.search-section h2{margin:0 0 1.5rem;font-size:1.5rem;color:#1a1a1a}.search-form{display:flex;gap:1rem;margin-bottom:2rem}.search-input{flex:1 1;padding:.75rem;border:2px solid #e5e7eb;border-radius:6px;font-size:1rem;font-family:inherit;transition:border-color .2s ease}.search-input:focus{outline:none;border-color:#2563eb}.search-input:disabled{background:#f3f4f6;cursor:not-allowed}.scanner-toggle,.search-button{padding:.75rem 1.5rem;font-size:1rem;font-weight:600;background:#2563eb;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease}.scanner-toggle:hover:not(:disabled),.search-button:hover:not(:disabled){background:#1d4ed8}.scanner-toggle:disabled,.search-button:disabled{opacity:.6;cursor:not-allowed}.members-list,.profiles-list{display:flex;flex-direction:column;gap:1rem}.members-list h3,.profiles-list h3{margin:0 0 1rem;font-size:1.25rem;color:#374151}.member-item,.profile-item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;background:#f9fafb;transition:all .2s ease}@media (max-width:640px){.member-item,.profile-item{flex-direction:column;align-items:stretch;text-align:left}.member-item .member-button,.profile-item .member-button{width:100%;margin-top:.5rem}}@media (max-width:480px){.search-form{flex-direction:column}.scanner-toggle,.search-button,.search-input{width:100%}.member-button,.search-button{padding:.5rem .75rem;font-size:.9rem}}.member-button{padding:.5rem 1rem;font-size:.875rem;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.member-item:hover,.profile-item:hover{border-color:#d1d5db;background:#f3f4f6}.profile-info{display:flex;align-items:center;gap:1rem;flex:1 1}.profile-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.profile-details{flex:1 1;min-width:0}.profile-name{font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.profile-pubkey{font-size:.875rem;color:#6b7280;font-family:monospace;margin-bottom:.25rem}.profile-about{font-size:.875rem;color:#4b5563;margin-top:.5rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.profile-petname{font-size:.875rem;color:#059669;margin-top:.25rem;font-style:italic}.member-button.add{background:#10b981;color:#fff}.member-button.add:hover:not(:disabled){background:#059669}.member-button.remove{background:#ef4444;color:#fff}.member-button.remove:hover:not(:disabled){background:#dc2626}.member-button:disabled{opacity:.6;cursor:not-allowed}.empty-message{color:#6b7280;font-style:italic;padding:2rem;text-align:center;background:#f9fafb;border-radius:8px;border:2px dashed #e5e7eb}.trust-info{margin-bottom:2rem;padding:1.5rem;background:#f0f9ff;border-radius:8px;border-left:4px solid #2563eb}.trust-info h2{margin:0 0 1rem;font-size:1.25rem;color:#1a1a1a}.trust-info p{margin:.75rem 0;color:#374151;line-height:1.6}.profile-container{display:flex;justify-content:center;padding:2rem;min-height:60vh}.profile-card{background:#fff;border-radius:12px;padding:2.5rem;max-width:600px;width:100%;box-shadow:0 4px 6px rgba(0,0,0,.1)}.profile-card h1{margin:0 0 1rem;font-size:2rem;color:#1a1a1a}.profile-description{color:#666;margin-bottom:2rem;line-height:1.6}.profile-form{gap:1.5rem}.form-group,.profile-form{display:flex;flex-direction:column}.form-group{gap:.5rem}.form-group label{font-weight:600;color:#374151;font-size:.875rem}.form-group input,.form-group textarea{padding:.75rem;border:2px solid #e5e7eb;border-radius:6px;font-size:1rem;font-family:inherit;transition:border-color .2s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#2563eb}.form-group textarea{resize:vertical;min-height:100px}.form-actions{display:flex;gap:1rem}.cancel-button,.save-button{flex:1 1;padding:.875rem 1.5rem;font-size:1rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease}.save-button{background:#2563eb;color:#fff}.save-button:hover:not(:disabled){background:#1d4ed8}.save-button:disabled{opacity:.6;cursor:not-allowed}.cancel-button{background:#f3f4f6;color:#1a1a1a}.cancel-button:hover{background:#e5e7eb}.save-message{padding:.875rem;border-radius:6px;font-size:.875rem}.save-message.success{background:#d1fae5;color:#065f46}.save-message.error{background:#fee2e2;color:#991b1b}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem}.loading-state .spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{to{transform:rotate(1turn)}}.personhood-info{margin-bottom:2rem;padding:1.5rem;background:#f0f9ff;border-radius:8px;border-left:4px solid #2563eb}.personhood-info p{margin:.75rem 0;color:#374151;line-height:1.6}.role-tag-container{margin-top:1rem;padding:1rem;background:#f0f9ff;border:2px solid #bae6fd;border-radius:8px;animation:fadeIn .3s ease-in;min-height:60px;display:flex;flex-direction:column;justify-content:center}.role-tag-label{color:#0369a1;margin-bottom:.5rem}.role-tag,.role-tag-label{font-size:.875rem;font-weight:600}.role-tag{display:inline-block;padding:.5rem 1rem;background:#2563eb;color:#fff;border-radius:6px;width:-moz-fit-content;width:fit-content}.role-tag-loading{display:flex;align-items:center;gap:.5rem}.role-tag-spinner{width:20px;height:20px;border:2px solid #bae6fd;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.layout{min-height:100vh;display:flex;flex-direction:column;background:#fff}.header{background:hsla(0,0%,100%,.95);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid #e5e7eb;padding:0 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(0,0,0,.08)}.header-content{max-width:1200px;margin:0 auto;height:64px;display:flex;align-items:center;justify-content:space-between}header.header{position:relative}.qr-panel{position:absolute;top:calc(100% + .5rem);right:0;padding:1rem;background:var(--bg-color,#fff);border:1px solid rgba(0,0,0,.15);border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:10;width:max-content}@media (max-width:768px){.user-info{position:relative}.qr-panel{left:0;right:0;width:auto;margin:0 .5rem;top:calc(100% + .6rem);max-height:70vh;overflow-y:auto;padding:1.2rem}.qr-panel:before{left:50%;right:auto;transform:translateX(-50%);top:-8px;border-width:0 8px 8px}.qr-panel{position:static;top:auto;right:auto;left:auto;margin:.5rem 0;width:100%;max-width:260px;align-self:flex-start;padding:1rem;box-sizing:border-box;background:var(--bg-color,#fff);border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:10}.qr-panel:before{display:none}.header{padding:0 1rem}.header-content{height:56px}.hamburger{display:flex}.nav{position:absolute;top:100%;left:0;right:0;background:hsla(0,0%,100%,.97);flex-direction:column;align-items:stretch;gap:0;max-height:0;overflow:hidden;transition:max-height .35s ease;z-index:99}.nav.mobile-open{max-height:500px;padding:.75rem 0}.login-link,.logout-button,.nav-link,.register-link{padding:.75rem 1.5rem;width:100%;text-align:left}.auth-buttons,.user-info{flex-direction:column;align-items:flex-start;padding:.5rem 1.5rem}.user-pubkey{margin-bottom:.5rem}}.logo{display:flex;align-items:center;gap:.625rem;text-decoration:none;transition:opacity .2s ease}.logo:hover{opacity:.8}.logo-image{height:28px;width:auto;object-fit:contain;transition:opacity .2s ease,filter .3s ease}@media (prefers-color-scheme:dark){.logo-image{filter:invert(1)}}.nav{display:flex;align-items:center;gap:1.5rem}.nav-link{color:#374151;text-decoration:none;font-weight:500;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;transition:color .2s ease}.nav-link:hover{color:#1a1a1a}.auth-buttons,.user-info{display:flex;align-items:center;gap:1rem}.register-link{color:#1a1a1a;text-decoration:none;font-weight:500;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;padding:.5rem 1rem;border-radius:6px;transition:background .2s ease}.register-link:hover{background:#f9fafb}.login-link{color:#1a1a1a;text-decoration:none;font-weight:500;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;padding:.5rem 1rem;border-radius:6px;transition:background .2s ease;background:transparent;border:none;cursor:pointer}.login-link:hover:not(:disabled){background:#f9fafb}.login-link:disabled{opacity:.6;cursor:not-allowed}.user-pubkey{font-size:.875rem;color:#666;font-family:monospace}.logout-button{padding:.5rem 1rem;background:#f3f4f6;border:none;border-radius:6px;cursor:pointer;font-weight:500;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9375rem;color:#374151;transition:background .2s ease}.logout-button:hover{background:#e5e7eb}.hamburger{display:none;flex-direction:column;justify-content:space-between;width:24px;height:18px;background:transparent;border:none;cursor:pointer;padding:0;outline:none;-webkit-tap-highlight-color:transparent}.hamburger:focus,.hamburger:focus-visible{outline:none}.hamburger:active,.hamburger:hover{background:transparent}.hamburger span{display:block;height:2px;background:#374151;border-radius:1px;transition:transform .3s ease,opacity .3s ease}.hamburger.open span:first-child{transform:translateY(8px) rotate(45deg)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}@media (max-width:768px){.header .header-content .user-info .qr-panel,header .header-content .user-info .qr-panel{border:none!important;box-shadow:none!important;position:static!important;margin:.5rem 0!important;width:100%!important;max-width:260px!important;align-self:flex-start!important;padding:1rem!important;background:var(--bg-color,#fff)!important;border-radius:8px!important;z-index:10!important}.header .header-content .user-info .qr-panel:before,header .header-content .user-info .qr-panel:before{display:none!important}.hamburger{display:flex;flex-direction:column;justify-content:space-between;width:24px;height:18px;background:transparent;border:none;cursor:pointer;padding:0;outline:none;-webkit-tap-highlight-color:transparent}.hamburger:focus,.hamburger:focus-visible{outline:none}.hamburger:active,.hamburger:hover{background:transparent}.hamburger span{display:block;height:2px;background:#374151;border-radius:1px;transition:transform .3s ease,opacity .3s ease}.hamburger.open span:first-child{transform:translateY(8px) rotate(45deg)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}}.main-content{flex:1 1;max-width:1200px;width:100%;margin:0 auto}