/* The Grove passport: a collector's art and identity, at a glance. */
.hh-profile-preview {
  --preview-paper:#f9fcf6;
  --preview-ink:#102329;
  --preview-muted:#64746e;
  --preview-line:#9cb78b69;
  --preview-accent:#4e7a3d;
  position:fixed;
  z-index:1200;
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  width:min(400px,calc(100vw - 24px));
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px);
  min-width:0;
  margin:0;
  padding:0;
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid var(--preview-line);
  border-radius:16px;
  background:linear-gradient(125deg,#fffffffa,var(--preview-paper));
  color:var(--preview-ink);
  box-shadow:0 8px 24px #183a2421,0 2px 6px #1630210d,inset 0 1px #fff;
  font-family:Inter,Arial,sans-serif;
  font-size:13px;
  line-height:1.5;
  text-align:left;
  isolation:isolate;
  animation:hh-profile-preview-in 130ms cubic-bezier(.2,.7,.2,1) both;
  scrollbar-width:thin;
  scrollbar-color:var(--preview-line) transparent;
}
.hh-profile-preview[hidden] { display:none!important; }
.hh-profile-preview * { box-sizing:border-box; }
.hh-profile-preview :is(h2,p) { margin:0; }
.hh-profile-preview a { color:inherit; text-decoration:none; }
.hh-profile-preview button { font-family:inherit; touch-action:manipulation; }
.hh-profile-preview :is(a,button):focus-visible { outline:2px solid var(--preview-accent); outline-offset:3px; }
.hh-profile-preview svg { fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

.hh-profile-preview-art {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  min-height:225px;
  padding:18px 7px;
  overflow:hidden;
  border-right:1px solid #75935d36;
  background:#657e4b url('/assets/hero.webp') 55% center / cover no-repeat;
  isolation:isolate;
}
.hh-profile-preview-art::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,#f6ffd50a 15%,#08261309 55%,#071d1252),linear-gradient(90deg,transparent 75%,#18352212);
  pointer-events:none;
}
.hh-profile-preview-portrait {
  position:relative;
  display:grid;
  place-items:center;
  flex:none;
  width:104px;
  height:104px;
  border-radius:50%;
}
.hh-profile-preview-portrait::after {
  content:'';
  position:absolute;
  inset:0;
  background:url('/assets/frame-grove-v2.svg') center / contain no-repeat;
  pointer-events:none;
  filter:drop-shadow(0 3px 4px #0b2d1c30);
}
.hh-profile-preview .hh-profile-preview-avatar {
  position:relative;
  display:grid;
  place-items:center;
  flex:none;
  width:87px;
  min-width:0;
  height:87px;
  overflow:hidden;
  border:2px solid #f5f9e9;
  border-radius:50%;
  background:radial-gradient(circle at 35% 20%,#e3efce,#b7ce98);
  color:#527f3e;
  box-shadow:0 3px 12px #092d1d30;
}
.hh-profile-preview-avatar > img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.hh-profile-preview .hh-avatar-fallback { width:42%; height:42%; fill:none; stroke:currentColor; stroke-width:1.2; }
.hh-profile-preview .has-image .hh-avatar-fallback { visibility:hidden; }
.hh-profile-preview-role {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  max-width:100%;
  min-height:27px;
  padding:4px 8px;
  border:1px solid #c9d8b5;
  border-radius:999px;
  background:#f8fbedf5;
  box-shadow:inset 0 1px #fff,0 3px 8px #08231526;
  color:#253d2f;
  font-size:11px;
  font-weight:650;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.hh-profile-preview-role svg { width:14px; height:14px; flex:none; color:#63894b; }

.hh-profile-preview-body { display:flex; flex-direction:column; min-width:0; padding:14px; }
.hh-profile-preview-name { display:flex; align-items:center; gap:6px; min-width:0; }
.hh-profile-preview-name > a { min-width:0; }
.hh-profile-preview-name h2 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  max-width:100%;
  color:var(--preview-ink);
  font-family:var(--font-display,'Cal Sans',Inter,Arial,sans-serif);
  font-size:24px;
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
.hh-profile-preview-name .hh-founder-seal { flex:0 0 23px; width:23px; height:25px; }
.hh-profile-preview-name .hh-founder-seal img { display:block; width:23px; height:23px; object-fit:contain; }
.hh-profile-preview-name .hh-verified { display:inline-grid; place-items:center; flex:none; width:19px; height:19px; border-radius:50%; background:#d7eac5; color:#355c2b; }
.hh-profile-preview-name .hh-verified svg { width:13px; height:13px; stroke-width:2.5; }
.hh-profile-preview-name .hh-role { display:inline-flex; flex:none; max-width:69px; padding:3px 5px; border:1px solid var(--preview-line); border-radius:5px; color:var(--preview-accent); background:#aacb8120; font-size:9px; font-weight:550; line-height:1.25; overflow-wrap:anywhere; }
.hh-profile-preview .hh-profile-preview-handle { align-self:flex-start; max-width:100%; margin-top:2px; overflow:hidden; color:var(--preview-muted); font-size:12px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.hh-profile-preview-handle:hover { text-decoration:underline; text-underline-offset:3px; }
.hh-profile-preview .hh-profile-preview-bio {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin-top:6px;
  font-size:12.5px;
  line-height:1.45;
  overflow-wrap:anywhere;
  white-space:pre-line;
}
.hh-profile-preview-bio:empty { display:none; }
.hh-profile-preview-stats { display:flex; flex-wrap:wrap; gap:4px 14px; margin-top:6px; color:var(--preview-muted); font-size:12px; line-height:1.5; }
.hh-profile-preview-stats > span { min-width:0; overflow-wrap:anywhere; }
.hh-profile-preview-stats strong { color:var(--preview-ink); font-size:12px; font-weight:700; }
.hh-profile-preview-marks { display:flex; align-items:flex-start; justify-content:space-around; gap:7px; min-width:0; margin-top:7px; padding-top:6px; border-top:1px solid #899f762e; }
.hh-profile-preview-marks:empty { display:none; }
.hh-profile-preview-mark { display:flex; flex:1 1 0; flex-direction:column; align-items:center; min-width:0; gap:3px; text-align:center; }
.hh-profile-preview-mark .hh-mark-trigger { display:grid; place-items:center; flex:none; width:42px; height:42px; padding:2px; border:1px solid transparent; border-radius:50%; background:transparent; }
.hh-profile-preview-mark .hh-mark-trigger img { display:block; width:37px; height:37px; object-fit:contain; }
.hh-profile-preview-mark > span { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; max-width:100%; font-size:10px; line-height:1.35; overflow-wrap:anywhere; }
.hh-profile-preview-actions { display:flex; gap:7px; margin-top:auto; padding-top:8px; }
.hh-profile-preview-actions .button { flex:1 1 0; gap:5px; min-width:0; min-height:35px; padding:6px 9px; font-size:11px; font-weight:650; line-height:1.4; white-space:normal; text-align:center; overflow-wrap:anywhere; }
.hh-profile-preview-actions .button-dark { flex-grow:1.2; }
.hh-profile-preview-actions a.button-dark { color:#fff; }
.hh-profile-preview-actions .button-light { border-color:var(--preview-line); background:#f8fbf4; }
.hh-profile-preview-actions .button:disabled { cursor:wait; opacity:.65; }
.hh-profile-preview-actions .button[aria-pressed=true] { border-color:var(--preview-line); background:#e6efdc; color:#36552e; box-shadow:inset 0 1px #fff8; }
.hh-profile-preview .hh-profile-preview-feedback { margin-top:8px; color:var(--preview-muted); font-size:11px; line-height:1.45; overflow-wrap:anywhere; }
.hh-profile-preview-feedback:empty { display:none; }

.hh-profile-preview-loading { grid-column:1/-1; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:10px; min-width:0; min-height:225px; padding:18px; color:var(--preview-muted); font-size:12px; }
.hh-profile-preview-loading > :is(p,strong,a) { max-width:100%; overflow-wrap:anywhere; }
.hh-profile-preview-loading > a { color:var(--preview-ink); text-decoration:underline; text-underline-offset:3px; }
.hh-profile-preview-skeleton { display:block; width:100%; height:12px; border-radius:6px; background:linear-gradient(90deg,#dbe5d233,#dbe5d2a6,#dbe5d233); background-size:200% 100%; animation:hh-profile-preview-shimmer 1.8s ease-in-out infinite; }
.hh-profile-preview-skeleton:nth-child(2n) { width:72%; }
.hh-profile-preview[data-state=error] .hh-profile-preview-loading { color:var(--preview-ink); }

html[data-theme=dark] .hh-profile-preview {
  --preview-paper:#111d19;
  --preview-ink:#edf5e8;
  --preview-muted:#a6b7aa;
  --preview-line:#a8c38a4a;
  --preview-accent:#c3e89d;
  background:linear-gradient(125deg,#18291f,var(--preview-paper) 70%);
  box-shadow:0 10px 28px #0006,0 2px 6px #0002,inset 0 1px #edffe21c;
}
html[data-theme=dark] .hh-profile-preview-art { border-color:#bad78b1c; background-color:#142719; background-image:url('/assets/hero-night.webp'); }
html[data-theme=dark] .hh-profile-preview-art::before { background:linear-gradient(180deg,#09170a08,#08160f12 50%,#030c0a80); }
html[data-theme=dark] .hh-profile-preview .hh-profile-preview-avatar { border-color:#d6e6c4; background:radial-gradient(circle at 35% 20%,#3d5d39,#1c3329); color:#b9d99d; }
html[data-theme=dark] .hh-profile-preview-role { border-color:#bdd69c66; background:#14261ef5; color:#e7f3de; box-shadow:inset 0 1px #eaffd91a,0 3px 8px #0004; }
html[data-theme=dark] .hh-profile-preview-role svg { color:#b8d895; }
html[data-theme=dark] .hh-profile-preview-marks { border-color:#b4ca9b26; }
html[data-theme=dark] .hh-profile-preview-actions .button-light { background:#223328; }
html[data-theme=dark] .hh-profile-preview-actions a.button-dark { color:#142619; }
html[data-theme=dark] .hh-profile-preview-actions .button[aria-pressed=true] { background:#314730; color:#d3ecb7; box-shadow:inset 0 1px #ffffff0d; }
html[data-theme=dark] .hh-profile-preview-skeleton { background-image:linear-gradient(90deg,#afc59408,#afc59422,#afc59408); }

@keyframes hh-profile-preview-in { from { opacity:0; transform:translateY(2px); } to { opacity:1; transform:translateY(0); } }
@keyframes hh-profile-preview-shimmer { from { background-position:150% 0; } to { background-position:-50% 0; } }

@media (max-width:420px) {
  .hh-profile-preview { grid-template-columns:1fr; width:min(320px,calc(100vw - 24px)); }
  .hh-profile-preview-art { flex-direction:row; min-height:90px; padding:7px 16px; gap:14px; border-right:0; border-bottom:1px solid #75935d36; background-position:55% 44%; }
  .hh-profile-preview-portrait { width:76px; height:76px; }
  .hh-profile-preview .hh-profile-preview-avatar { width:64px; height:64px; }
  .hh-profile-preview-body { padding:13px 14px; }
  .hh-profile-preview-name h2 { font-size:23px; }
  .hh-profile-preview-actions .button { min-height:38px; }
}
@media (prefers-reduced-motion:reduce) {
  .hh-profile-preview,.hh-profile-preview-skeleton { animation:none; }
  .hh-profile-preview * { transition:none!important; }
  .hh-profile-preview .button:hover,.hh-profile-preview .hh-mark-trigger:hover,.hh-profile-preview .hh-mark-trigger:hover img { transform:none; }
}
@media (prefers-reduced-transparency:reduce) {
  .hh-profile-preview { background:var(--preview-paper); }
  .hh-profile-preview-role { background:#f8fbed; }
  html[data-theme=dark] .hh-profile-preview { background:var(--preview-paper); }
  html[data-theme=dark] .hh-profile-preview-role { background:#14261e; }
}
html.low-effects .hh-profile-preview { animation:none; background:var(--preview-paper); box-shadow:0 8px 24px #0b261e25; }
html.low-effects .hh-profile-preview-portrait::after { filter:none; }
html[data-theme=dark].low-effects .hh-profile-preview { background:var(--preview-paper); box-shadow:0 8px 24px #0006; }
@media (forced-colors:active) {
  .hh-profile-preview,html[data-theme=dark] .hh-profile-preview { --preview-ink:CanvasText; --preview-muted:CanvasText; --preview-accent:Highlight; --preview-line:CanvasText; border:1px solid CanvasText; background:Canvas; box-shadow:none; }
  .hh-profile-preview-role,.hh-profile-preview-actions .button,html[data-theme=dark] .hh-profile-preview-role,html[data-theme=dark] .hh-profile-preview-actions .button { border:1px solid ButtonText; background:ButtonFace; color:ButtonText; }
  .hh-profile-preview-name h2 { color:CanvasText; }
}
