:root {
  --bg: #070b14;
  --panel: #121b2b;
  --line: #243044;
  --text: #eef3fb;
  --muted: #93a0b8;
  --blue: #2f7bff;
  --blue2: #4ea2ff;
  --glow: rgba(47,123,255,.4);
  --safe: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #03050a;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
body { min-height: 100vh; display: flex; justify-content: center; }
.phone {
  width: 390px;
  min-height: 844px;
  background: radial-gradient(420px 280px at 50% 0%, rgba(47,123,255,.16), transparent 55%), var(--bg);
  position: relative;
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 16px 10px;
}
.who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#2f7bff,#6aa8ff); }
.who b { display: block; font-size: 14px; }
.who span { color: var(--muted); font-size: 12px; }
.icon {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px;
}
h1 { font-size: 24px; letter-spacing: -.4px; padding: 4px 16px 8px; }
.sub { color: var(--muted); font-size: 13px; padding: 0 16px 14px; line-height: 1.45; }
.card {
  background: linear-gradient(180deg, #151e2e, #0e1624);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.btn {
  display: block; text-align: center; border: 0; border-radius: 14px;
  padding: 14px 16px; font-weight: 700; cursor: pointer;
}
.btn-primary { background: linear-gradient(180deg,#4ea2ff,#2f7bff); color: #fff; box-shadow: 0 8px 22px var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.cta-fixed { position: absolute; left: 16px; right: 16px; bottom: 88px; }
.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 14px; height: 62px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 4px;
  background: #0c1320; border: 1px solid var(--line); border-radius: 18px; padding: 6px;
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); border-radius: 12px; }
.tabbar a.on { color: #fff; background: #17233a; }
.chip { display: inline-block; font-size: 11px; padding: 4px 8px; border-radius: 99px; background: #132a4a; color: #7eb6ff; }
.pill { font-size: 11px; padding: 3px 8px; border-radius: 99px; }
.q { background: #3a2a10; color: #ffc857; }
.p { background: #132a4a; color: #7eb6ff; }
.ok { background: #12351f; color: #3dff9a; }
.crumb {
  position: absolute; top: 16px; left: 12px; right: 12px;
  background: rgba(8,12,20,.72); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 12px; backdrop-filter: blur(8px);
  display: flex; justify-content: space-between; align-items: center; z-index: 3;
}
.finder { position: absolute; inset: 0; background: #101820; }
.finder.photo-bg { background-size: cover; background-position: center; }
.finder:before {
  content: ""; position: absolute; inset: 70px 18px 150px;
  border: 1.5px dashed rgba(78,162,255,.45); border-radius: 18px;
}
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.hero-photo { width: 100%; height: 220px; object-fit: cover; display: block; }
.dots { display: flex; gap: 6px; justify-content: center; padding: 10px 0 16px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #2a3548; display: block; }
.dots i.on { background: #4ea2ff; width: 16px; border-radius: 99px; }
.field { width: calc(100% - 32px); margin: 0 16px 10px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #0b1220; color: #fff; padding: 0 12px; }
.box { position: absolute; border: 1.5px solid #4ea2ff; border-radius: 8px; }
.box span {
  position: absolute; left: 0; top: -18px; font-size: 10px; color: #9cc8ff;
  background: rgba(8,14,24,.8); padding: 1px 6px; border-radius: 6px;
}
.shutter {
  width: 74px; height: 74px; border-radius: 50%;
  border: 4px solid #fff; background: #2f7bff; box-shadow: 0 0 0 6px rgba(47,123,255,.25);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.row { display: flex; gap: 10px; align-items: center; padding: 12px; }
.thumb { width: 52px; height: 52px; border-radius: 10px; background: #1a2436; border: 1px solid var(--line); flex: none; }
.search {
  width: calc(100% - 32px); margin: 0 16px 12px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line); background: #0b1220;
  color: #fff; padding: 0 12px;
}
