/* 개인정보 흐름 그림, 찾는 기기 칩 그림, 표 안 막대 */
.flow {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-top: 28px;
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--card);
}
.flow-node {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
  font-size: 15px;
}
.flow-node small {
  color: var(--muted);
  font-size: 13px;
}
.flow-icons {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.flow svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-node[data-main] svg {
  width: 44px;
  height: 44px;
  color: var(--blue);
}
.flow-node[data-off] {
  color: var(--muted);
}
.flow-link {
  position: relative;
  width: 2px;
  height: 36px;
  margin: 10px 0;
  background: repeating-linear-gradient(var(--blue) 0 6px, transparent 6px 12px);
  background-size: 2px 12px;
}
.motion .flow-link[data-on] {
  animation: flowY 600ms linear infinite;
}
.flow-link[data-cut] {
  height: 60px;
  background-image: repeating-linear-gradient(var(--muted) 0 6px, transparent 6px 12px);
}
.flow-link[data-cut]::after {
  content: "✕";
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  translate: -50% -50%;
}
@keyframes flowY {
  to {
    background-position: 0 12px;
  }
}
@keyframes flowX {
  to {
    background-position: 12px 0;
  }
}
@media (min-width: 680px) {
  .flow {
    grid-template-columns: 1fr minmax(60px, 140px) 1fr minmax(60px, 140px) 1fr;
    align-items: center;
    padding: 36px 32px;
  }
  .flow-link {
    width: 100%;
    height: 2px;
    margin: 0;
    background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px);
    background-size: 12px 2px;
  }
  .flow-link[data-cut] {
    height: 2px;
    background-image: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 12px);
  }
  .motion .flow-link[data-on] {
    animation-name: flowX;
  }
}

/* 찾는 기기 칩 그림 */
.kinds .tag svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 표 안 막대 */
td[style*="--v"]::after {
  content: "";
  display: block;
  width: min(120px, 100%);
  height: 4px;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--text) var(--v), var(--line) var(--v));
}
