/* network v3: calm network map (tobira.ai-like) with hover cards. Owner: t1. */
.net-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.net-early { margin-bottom: 18px; }
.net-h2 { font-size: clamp(30px, 3.3vw, 46px); text-wrap: balance; }
.net-lead { margin-top: 18px; }
.net-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.net-points li { display: flex; gap: 12px; align-items: flex-start; font: 400 16px/1.5 var(--font); color: var(--ink-2); }
.net-points .tb-check { margin-top: 1px; }
.net-addr { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 10px 3px 7px; border-radius: var(--r-pill);
  background: #fff; box-shadow: var(--shadow-card); color: var(--ink); font: 500 14.5px/1.4 var(--font); white-space: nowrap; }
.net-addr svg { width: 15px; height: 15px; color: var(--muted); }

.net-mapv { position: relative; height: 600px; border-radius: var(--r-sheet); background-color: rgba(255, 255, 255, .72);
  background-image: radial-gradient(rgba(27, 23, 19, .09) 1px, transparent 1.2px); background-size: 22px 22px;
  box-shadow: inset 0 0 0 1px rgba(27, 23, 19, .06); }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net-lines line { stroke: rgba(27, 23, 19, .12); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .3s, opacity .3s; }
.net-lines line.m { stroke: rgba(201, 132, 110, .55); stroke-dasharray: 4 4; }
.net-mapv.has-on .net-lines line:not(.on) { opacity: .45; }
.net-lines line.on { stroke: rgba(27, 23, 19, .45); stroke-width: 1.4; }
.net-lines line.m.on { stroke: rgba(201, 132, 110, .95); }
.net-dot { position: absolute; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: rgba(27, 23, 19, .14); }

.net-me { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 11px;
  padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); white-space: nowrap; }
.net-me img { width: 36px; height: 36px; border-radius: 10px; }
.net-me b { display: block; font: 600 15px/1.2 var(--font); color: var(--ink); }
.net-me small { display: block; font: 400 13px/1.3 var(--font); color: var(--muted); margin-top: 2px; }

.net-node { position: absolute; z-index: 3; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px;
  border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(27, 23, 19, .06), 0 8px 20px -12px rgba(60, 30, 10, .28);
  white-space: nowrap; cursor: pointer; outline: none; transition: box-shadow .25s, transform .25s var(--ease); }
.net-node.el { transform: translate(-22%, -50%); }
.net-node.er { transform: translate(-80%, -50%); }
.net-node.on { z-index: 6; box-shadow: 0 0 0 1.5px var(--ink), 0 12px 26px -12px rgba(60, 30, 10, .35); }
.net-node.m:not(.on) { box-shadow: 0 0 0 1px rgba(201, 132, 110, .55), 0 8px 20px -12px rgba(60, 30, 10, .28); }
.net-av { position: relative; flex: none; }
.net-av img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; }
.net-av i { position: absolute; right: -4px; bottom: -3px; height: 13px; padding: 0 3px; border-radius: 4px; background: var(--ink); color: #fff;
  font: 700 8px/13px var(--font); font-style: normal; }
.net-nm b { display: block; font: 600 13.5px/1.2 var(--font); color: var(--ink); }
.net-nm small { display: block; font: 400 12px/1.3 var(--font); color: var(--muted); margin-top: 1px; }

.net-pop { position: absolute; width: 288px; padding: 14px; border-radius: 16px; background: #fff; white-space: normal; cursor: default;
  box-shadow: var(--shadow-float), 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transform: translateY(4px);
  transition: opacity .22s, transform .22s var(--ease); }
.net-pop.b { top: calc(100% + 10px); }
.net-pop.t { bottom: calc(100% + 10px); }
.net-pop.l { left: 0; }
.net-pop.r { right: 0; }
.net-node.on .net-pop { opacity: 1; pointer-events: auto; transform: none; }
.net-pop-h { display: flex; gap: 10px; align-items: center; }
.net-pop-h img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.net-pop-h b { display: block; font: 600 14.5px/1.25 var(--font); color: var(--ink); }
.net-pop-h small { display: block; font: 400 12.5px/1.35 var(--font); color: var(--muted); margin-top: 2px; }
.net-pop-l { margin: 12px 0; padding: 9px 11px; border-radius: 10px; background: var(--soft-2); font: 400 13.5px/1.4 var(--font); color: var(--ink); }
.net-pop-l span { color: var(--muted); }
.net-pop-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.net-can { font: 400 12.5px/1.3 var(--font); color: var(--muted); }
.net-pop-f .tb-btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }

.net-intro3 { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; }
.net-intro3 > div { flex: 1; min-width: 0; }
.net-intro3 b { display: block; font: 600 13px/1.2 var(--font); color: var(--muted); }
.net-intro3 p { margin: 3px 0 0; font: 500 14.5px/1.35 var(--font); color: var(--ink); }
.net-intro3 .tb-btn { flex: none; }

@media (max-width: 1024px) {
  .net-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .net-mapv { height: 520px; margin: 0 -6px; border-radius: 22px; background-size: 18px 18px; }
  .net-node.ph-hide { display: none; }
  .net-node { padding: 5px 9px 5px 5px; gap: 7px; }
  .net-nm small { display: none; }
  .net-nm b { font-size: 12.5px; }
  .net-av img { width: 26px; height: 26px; }
  .net-me { padding: 8px 12px 8px 8px; }
  .net-me img { width: 30px; height: 30px; }
  .net-me b { font-size: 13.5px; }
  .net-me small { font-size: 12px; }
  .net-pop { width: 240px; }
  .net-intro3 { left: 10px; right: 10px; bottom: 10px; flex-wrap: wrap; }
  .net-intro3 .tb-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .net-pop, .net-node { transition: none; } }

